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: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007959/0.0007959, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.000777/0.0007771, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.4 MB / 222.1 MB, free: 5.895 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.685/1.685, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0007939/0.0007942, allocations: 17.97 kB / 0.6737 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2871, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.6825/0.9697, allocations: 148.2 MB / 0.932 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00484/0.9745, allocations: 4.252 MB / 0.9362 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000271/0.9749, allocations: 10.41 kB / 0.9362 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004207/0.9753, allocations: 87.69 kB / 0.9363 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00128/0.9766, allocations: 382.9 kB / 0.9367 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.9784, allocations: 0.5255 MB / 0.9372 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009796/0.9794, allocations: 0.6911 MB / 0.9378 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003937/0.9798, allocations: 157.2 kB / 0.938 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.9808, allocations: 366.9 kB / 0.9383 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005898/0.9814, allocations: 275.5 kB / 0.9386 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.9815, allocations: 8.688 kB / 0.9386 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.9829, allocations: 0.5151 MB / 0.9391 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.9831, allocations: 81.2 kB / 0.9392 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004451/0.9835, allocations: 73.17 kB / 0.9393 GB, free: 21.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006067/0.9841, allocations: 412.4 kB / 0.9397 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.9841, allocations: 0.5625 kB / 0.9397 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9842, allocations: 0 / 0.9397 GB, free: 21.44 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.373e-06/0.9842, allocations: 0.9375 kB / 0.9397 GB, free: 21.44 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.001027/0.9852, allocations: 0.5539 MB / 0.9402 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/0.9853, allocations: 9.531 kB / 0.9402 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007656/0.986, allocations: 72.11 kB / 0.9403 GB, free: 20.97 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004128/0.9865, allocations: 281.8 kB / 0.9405 GB, free: 20.75 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.9865, allocations: 11.53 kB / 0.9406 GB, free: 20.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.537e-05/0.9866, allocations: 27.42 kB / 0.9406 GB, free: 20.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000571/0.9871, allocations: 291.8 kB / 0.9409 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.9872, allocations: 0.5 kB / 0.9409 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.9872, allocations: 8.359 kB / 0.9409 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.9872, allocations: 4.75 kB / 0.9409 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004932/0.9877, allocations: 216.6 kB / 0.9411 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.9894, allocations: 1.261 MB / 0.9423 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.9897, allocations: 179.8 kB / 0.9425 GB, free: 19.68 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.99, allocations: 117.6 kB / 0.9426 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007431/0.9907, allocations: 355.3 kB / 0.9429 GB, free: 19.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.9908, allocations: 34.53 kB / 0.943 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.823e-06/0.9908, allocations: 0 / 0.943 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0009053/0.9917, allocations: 297.9 kB / 0.9432 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.017e-05/0.9918, allocations: 163.6 kB / 0.9434 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.9921, allocations: 280.8 kB / 0.9437 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.9921, allocations: 31.27 kB / 0.9437 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.997e-05/0.9922, allocations: 144.5 kB / 0.9438 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.9923, allocations: 44.62 kB / 0.9439 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.9923, allocations: 3.406 kB / 0.9439 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.9924, allocations: 335.9 kB / 0.9442 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.9926, allocations: 73.39 kB / 0.9443 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.9928, allocations: 152.8 kB / 0.9444 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.993, allocations: 88.72 kB / 0.9445 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.993, allocations: 0 / 0.9445 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005332/0.9936, allocations: 263.3 kB / 0.9448 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.9936, allocations: 14.36 kB / 0.9448 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.9936, allocations: 6.375 kB / 0.9448 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.9937, allocations: 3.281 kB / 0.9448 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.9939, allocations: 42.94 kB / 0.9448 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.9939, allocations: 5.75 kB / 0.9448 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.9941, allocations: 34.81 kB / 0.9449 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.196e-05/0.9942, allocations: 8.594 kB / 0.9449 GB, free: 18.33 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001733/0.9943, allocations: 153.9 kB / 0.945 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.9945, allocations: 32.06 kB / 0.945 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005078/0.995, allocations: 198.5 kB / 0.9452 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.995, allocations: 5.094 kB / 0.9452 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.995, allocations: 1.875 kB / 0.9452 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.995, allocations: 1.125 kB / 0.9452 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.9961, allocations: 0.8656 MB / 0.9461 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.9962, allocations: 1.75 kB / 0.9461 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.9963, allocations: 32.05 kB / 0.9461 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.465e-06/0.9963, allocations: 2.031 kB / 0.9461 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.9963, allocations: 4.906 kB / 0.9461 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/0.9964, allocations: 2.094 kB / 0.9461 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.9964, allocations: 1.875 kB / 0.9461 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007619/0.9971, allocations: 361.6 kB / 0.9465 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.9973, allocations: 117.6 kB / 0.9466 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/0.9974, allocations: 5.594 kB / 0.9466 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.9976, allocations: 15.7 kB / 0.9466 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/0.9976, allocations: 13.56 kB / 0.9466 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.9977, allocations: 8.031 kB / 0.9466 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003231/0.998, allocations: 236.7 kB / 0.9469 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.998, allocations: 0 / 0.9469 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005557/0.9986, allocations: 88.11 kB / 0.9469 GB, free: 17.08 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005474/0.9991, allocations: 194.5 kB / 0.9471 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004715/0.9996, allocations: 160.9 kB / 0.9473 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.9996, allocations: 0 / 0.9473 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.9998, allocations: 71.09 kB / 0.9473 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007687/1.001, allocations: 126.6 kB / 0.9475 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008133/1.001, allocations: 0.5724 MB / 0.948 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/1.002, allocations: 0.7565 MB / 0.9488 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002079/1.002, allocations: 64.77 kB / 0.9488 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.617e-05/1.002, allocations: 25.05 kB / 0.9489 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/1.002, allocations: 0 / 0.9489 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of Templates: time 0.01152/1.014, allocations: 5.302 MB / 0.954 GB, free: 15.48 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) Environment - environmentSimulation: