Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.821/1.821, allocations: 306.1 MB / 321.4 MB, free: 10.74 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 179.5 kB / 393.1 MB, free: 4.086 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008013/0.0008012, allocations: 98.36 kB / 0.7935 GB, free: 40.11 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005764/0.0005765, allocations: 12 kB / 0.9224 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6885/0.6891, allocations: 121.3 MB / 1.041 GB, free: 58.56 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1631/0.8522, allocations: 152.3 MB / 1.19 GB, free: 9.258 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.007016/0.8593, allocations: 6.082 MB / 1.196 GB, free: 3.188 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002959/0.8597, allocations: 7.938 kB / 1.196 GB, free: 3.18 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0005292/0.8602, allocations: 97.08 kB / 1.196 GB, free: 3.105 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001818/0.862, allocations: 0.5097 MB / 1.196 GB, free: 2.715 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002259/0.8643, allocations: 0.7064 MB / 1.197 GB, free: 2.168 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.00118/0.8655, allocations: 0.8086 MB / 1.198 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003908/0.8659, allocations: 189.5 kB / 1.198 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.8671, allocations: 429.9 kB / 1.198 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006546/0.8677, allocations: 287.7 kB / 1.199 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.8678, allocations: 11.94 kB / 1.199 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00245/0.8702, allocations: 1.142 MB / 1.2 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.8704, allocations: 79.11 kB / 1.2 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.8706, allocations: 144.5 kB / 1.2 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.872, allocations: 0.7737 MB / 1.201 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.8721, allocations: 0 / 1.201 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8721, allocations: 0 / 1.201 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.8721, allocations: 4 kB / 1.201 GB, free: 15.14 MB / 0.7761 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.0009762/0.8731, allocations: 0.5526 MB / 1.201 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.8731, allocations: 8.031 kB / 1.201 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006638/0.8738, allocations: 77.23 kB / 1.201 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004326/0.8742, allocations: 285.1 kB / 1.202 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.8743, allocations: 16 kB / 1.202 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.765e-05/0.8743, allocations: 20.52 kB / 1.202 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005419/0.8749, allocations: 289 kB / 1.202 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.8749, allocations: 4 kB / 1.202 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.8749, allocations: 8 kB / 1.202 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.8749, allocations: 7.938 kB / 1.202 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004573/0.8754, allocations: 217 kB / 1.202 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/0.8772, allocations: 1.256 MB / 1.203 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.8775, allocations: 185.3 kB / 1.203 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.8777, allocations: 117.6 kB / 1.204 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008034/0.8786, allocations: 340.2 kB / 1.204 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/0.8786, allocations: 47.3 kB / 1.204 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 2.265e-06/0.8786, allocations: 0 / 1.204 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0008028/0.8794, allocations: 294 kB / 1.204 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.351e-05/0.8795, allocations: 159 kB / 1.204 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.8798, allocations: 281.4 kB / 1.205 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.8799, allocations: 29.7 kB / 1.205 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.88, allocations: 144.1 kB / 1.205 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.413e-05/0.8801, allocations: 51.11 kB / 1.205 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/0.8801, allocations: 0 / 1.205 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.8802, allocations: 347.1 kB / 1.205 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.8804, allocations: 70.3 kB / 1.205 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.8807, allocations: 155.7 kB / 1.205 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003985/0.8811, allocations: 218.2 kB / 1.206 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.8811, allocations: 0 / 1.206 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005463/0.8817, allocations: 258.6 kB / 1.206 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.8817, allocations: 5.047 kB / 1.206 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.8817, allocations: 8 kB / 1.206 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.8817, allocations: 4 kB / 1.206 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.8819, allocations: 42.14 kB / 1.206 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.882, allocations: 4.547 kB / 1.206 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.8822, allocations: 28.44 kB / 1.206 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/0.8822, allocations: 16.55 kB / 1.206 GB, free: 9.773 MB / 0.7761 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.0001589/0.8824, allocations: 147.2 kB / 1.206 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.8825, allocations: 28.42 kB / 1.206 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004987/0.883, allocations: 201.6 kB / 1.206 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.8831, allocations: 4 kB / 1.206 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.8831, allocations: 0.6562 kB / 1.206 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.8831, allocations: 0.6094 kB / 1.206 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.8841, allocations: 0.8701 MB / 1.207 GB, free: 8.543 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.8842, allocations: 4 kB / 1.207 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.8843, allocations: 24.36 kB / 1.207 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.8843, allocations: 3.938 kB / 1.207 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.8843, allocations: 8.703 kB / 1.207 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.8844, allocations: 0 / 1.207 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.8844, allocations: 8.906 kB / 1.207 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006367/0.885, allocations: 354.6 kB / 1.208 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.8851, allocations: 124.2 kB / 1.208 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.8852, allocations: 4.797 kB / 1.208 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.8854, allocations: 14.67 kB / 1.208 GB, free: 8.004 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.8854, allocations: 7 kB / 1.208 GB, free: 8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.8854, allocations: 8.062 kB / 1.208 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000269/0.8857, allocations: 234.3 kB / 1.208 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.873e-06/0.8857, allocations: 0 / 1.208 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005691/0.8863, allocations: 98.56 kB / 1.208 GB, free: 7.699 MB / 0.7761 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.0007098/0.887, allocations: 231.7 kB / 1.208 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004461/0.8875, allocations: 162 kB / 1.208 GB, free: 7.363 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.8875, allocations: 4.062 kB / 1.208 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.8877, allocations: 61.41 kB / 1.208 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008283/0.8885, allocations: 145.7 kB / 1.209 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009468/0.8894, allocations: 0.5878 MB / 1.209 GB, free: 6.629 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.8899, allocations: 0.759 MB / 1.21 GB, free: 5.875 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002314/0.8901, allocations: 63.05 kB / 1.21 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.083e-05/0.8902, allocations: 28.14 kB / 1.21 GB, free: 5.801 MB / 0.7761 GB Notification: Performance of SimCode: time 4.11e-07/0.8902, allocations: 0 / 1.21 GB, free: 5.801 MB / 0.7761 GB Notification: Performance of Templates: time 0.01152/0.9017, allocations: 5.551 MB / 1.215 GB, free: 1.656 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)