Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002138/0.002138, allocations: 192.2 kB / 16.13 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.678/1.678, allocations: 292.3 MB / 0.5484 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 72.36 kB / 0.6709 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1819, allocations: 114.5 MB / 0.7828 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.5678/0.7497, allocations: 161 MB / 0.94 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006361/0.7562, allocations: 4.639 MB / 0.9445 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000581/0.7568, allocations: 11.16 kB / 0.9445 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004847/0.7573, allocations: 96.56 kB / 0.9446 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001379/0.7587, allocations: 0.513 MB / 0.9451 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.7606, allocations: 0.7049 MB / 0.9458 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000917/0.7615, allocations: 0.8113 MB / 0.9466 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003065/0.7619, allocations: 178.6 kB / 0.9468 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009873/0.7628, allocations: 427 kB / 0.9472 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006127/0.7635, allocations: 291.1 kB / 0.9475 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.7635, allocations: 12.59 kB / 0.9475 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/0.7654, allocations: 1.17 MB / 0.9486 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.7656, allocations: 83.53 kB / 0.9487 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.7657, allocations: 116.3 kB / 0.9488 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.7671, allocations: 0.7728 MB / 0.9496 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.7671, allocations: 0 / 0.9496 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.51e-07/0.7671, allocations: 1.203 kB / 0.9496 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.7671, allocations: 0 / 0.9496 GB, free: 5.566 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001288/0.7684, allocations: 0.5951 MB / 0.9502 GB, free: 21.11 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.7684, allocations: 9.406 kB / 0.9502 GB, free: 21.11 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.329e-05/0.7685, allocations: 52.45 kB / 0.9502 GB, free: 21.07 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007567/0.7693, allocations: 83.25 kB / 0.9503 GB, free: 21.05 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003983/0.7697, allocations: 284 kB / 0.9506 GB, free: 20.83 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.7697, allocations: 15.19 kB / 0.9506 GB, free: 20.83 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/0.7698, allocations: 17 kB / 0.9506 GB, free: 20.83 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005418/0.7703, allocations: 290.6 kB / 0.9509 GB, free: 20.73 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.7703, allocations: 0.7188 kB / 0.9509 GB, free: 20.73 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.7704, allocations: 5.719 kB / 0.9509 GB, free: 20.73 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.7704, allocations: 8.312 kB / 0.9509 GB, free: 20.73 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004954/0.7709, allocations: 205.5 kB / 0.9511 GB, free: 20.73 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/0.7725, allocations: 1.253 MB / 0.9523 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.7728, allocations: 180.7 kB / 0.9525 GB, free: 19.76 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.773, allocations: 111.8 kB / 0.9526 GB, free: 19.71 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000786/0.7738, allocations: 332.4 kB / 0.9529 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.7738, allocations: 37.28 kB / 0.9529 GB, free: 19.39 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.7738, allocations: 1.625 kB / 0.9529 GB, free: 19.39 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0008082/0.7746, allocations: 282.6 kB / 0.9532 GB, free: 19.34 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.318e-05/0.7747, allocations: 160.5 kB / 0.9534 GB, free: 19.15 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.775, allocations: 285.7 kB / 0.9536 GB, free: 19.05 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.7751, allocations: 32.28 kB / 0.9537 GB, free: 19.02 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.7752, allocations: 146.1 kB / 0.9538 GB, free: 18.92 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.7752, allocations: 48.39 kB / 0.9538 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.887e-05/0.7753, allocations: 43.02 kB / 0.9539 GB, free: 18.87 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.7755, allocations: 338.3 kB / 0.9542 GB, free: 18.55 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.7757, allocations: 74.14 kB / 0.9543 GB, free: 18.55 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.7759, allocations: 137.9 kB / 0.9544 GB, free: 18.47 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003949/0.7763, allocations: 220 kB / 0.9546 GB, free: 18.39 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.7763, allocations: 1.062 kB / 0.9546 GB, free: 18.39 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005421/0.7769, allocations: 240.4 kB / 0.9549 GB, free: 18.35 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.7769, allocations: 8.188 kB / 0.9549 GB, free: 18.35 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.7769, allocations: 4.969 kB / 0.9549 GB, free: 18.35 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.7769, allocations: 2.812 kB / 0.9549 GB, free: 18.35 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.7771, allocations: 43.33 kB / 0.9549 GB, free: 18.35 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.7772, allocations: 5.797 kB / 0.9549 GB, free: 18.35 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.7774, allocations: 31.95 kB / 0.9549 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.7774, allocations: 12.38 kB / 0.955 GB, free: 18.33 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001552/0.7776, allocations: 146.1 kB / 0.9551 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.7778, allocations: 24.72 kB / 0.9551 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000517/0.7783, allocations: 194.7 kB / 0.9553 GB, free: 18.13 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.7783, allocations: 6.812 kB / 0.9553 GB, free: 18.13 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.7783, allocations: 3.906 kB / 0.9553 GB, free: 18.13 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.7783, allocations: 1.156 kB / 0.9553 GB, free: 18.13 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.7796, allocations: 0.8517 MB / 0.9562 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.7796, allocations: 1.094 kB / 0.9562 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.7798, allocations: 21.48 kB / 0.9562 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.7798, allocations: 11.94 kB / 0.9562 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.7798, allocations: 9.75 kB / 0.9562 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.7798, allocations: 2.094 kB / 0.9562 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.7799, allocations: 1.531 kB / 0.9562 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006875/0.7805, allocations: 338.3 kB / 0.9565 GB, free: 17.29 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.7807, allocations: 116.5 kB / 0.9566 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.921e-05/0.7807, allocations: 6.328 kB / 0.9566 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.7809, allocations: 16.47 kB / 0.9567 GB, free: 17.17 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.781, allocations: 11.25 kB / 0.9567 GB, free: 17.17 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.781, allocations: 4.188 kB / 0.9567 GB, free: 17.17 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003417/0.7813, allocations: 234.9 kB / 0.9569 GB, free: 17.09 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.824e-06/0.7814, allocations: 0.625 kB / 0.9569 GB, free: 17.09 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006311/0.782, allocations: 98.62 kB / 0.957 GB, free: 17.08 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001471/0.7835, allocations: 0.9805 MB / 0.9579 GB, free: 16.36 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000471/0.784, allocations: 149.6 kB / 0.9581 GB, free: 16.35 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.784, allocations: 0.5625 kB / 0.9581 GB, free: 16.35 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.7841, allocations: 58.61 kB / 0.9581 GB, free: 16.35 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000878/0.785, allocations: 143 kB / 0.9583 GB, free: 16.34 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/0.7887, allocations: 2.826 MB / 0.961 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.7891, allocations: 0.7644 MB / 0.9618 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002537/0.7894, allocations: 62.59 kB / 0.9618 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.7895, allocations: 72.84 kB / 0.9619 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of SimCode: time 3.31e-07/0.7895, allocations: 0.9062 kB / 0.9619 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02059/0.8101, allocations: 8.201 MB / 0.9699 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/0.8103, allocations: 243.8 kB / 0.9702 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.035/2.846, allocations: 4 kB / 0.9702 GB, free: 12.96 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)