Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.794/1.794, allocations: 291.7 MB / 306.8 MB, free: 7.715 MB / 234.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.00126/0.00126, allocations: 189.5 kB / 375.4 MB, free: 5.125 MB / 298.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.463/1.463, allocations: 225.6 MB / 0.6538 GB, free: 13.65 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008213/0.0008217, allocations: 96.55 kB / 0.7699 GB, free: 50.41 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004044, allocations: 13.75 kB / 0.8956 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7438/0.7443, allocations: 118.1 MB / 1.011 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1688/0.9132, allocations: 148.2 MB / 1.156 GB, free: 6.52 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.005076/0.9183, allocations: 4.251 MB / 1.16 GB, free: 3.512 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002805/0.9186, allocations: 12.09 kB / 1.16 GB, free: 3.508 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0004341/0.9191, allocations: 83.69 kB / 1.16 GB, free: 3.457 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.9203, allocations: 384.3 kB / 1.16 GB, free: 3.254 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.922, allocations: 0.5283 MB / 1.161 GB, free: 2.992 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0008018/0.9228, allocations: 0.6945 MB / 1.161 GB, free: 2.723 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003119/0.9231, allocations: 178.1 kB / 1.162 GB, free: 2.66 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008749/0.924, allocations: 361.4 kB / 1.162 GB, free: 2.516 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000548/0.9246, allocations: 283.1 kB / 1.162 GB, free: 2.406 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.9246, allocations: 9.75 kB / 1.162 GB, free: 2.406 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.9257, allocations: 0.5106 MB / 1.163 GB, free: 2.25 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 9.897e-05/0.9258, allocations: 77.98 kB / 1.163 GB, free: 2.227 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 7.314e-05/0.9259, allocations: 73.17 kB / 1.163 GB, free: 2.176 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0005496/0.9265, allocations: 401.5 kB / 1.163 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.9265, allocations: 3.281 kB / 1.163 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.557e-06/0.9265, allocations: 0.9688 kB / 1.163 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.9265, allocations: 7.938 kB / 1.163 GB, free: 2.074 MB / 0.7605 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.001038/0.9276, allocations: 0.5542 MB / 1.164 GB, free: 1.59 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.9276, allocations: 9.562 kB / 1.164 GB, free: 1.59 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006137/0.9282, allocations: 81.08 kB / 1.164 GB, free: 1.566 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.9287, allocations: 276.4 kB / 1.164 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.9287, allocations: 17.69 kB / 1.164 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.873e-05/0.9287, allocations: 21.97 kB / 1.164 GB, free: 1.309 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004929/0.9292, allocations: 291.3 kB / 1.165 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.9293, allocations: 10.52 kB / 1.165 GB, free: 1.145 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.9293, allocations: 4 kB / 1.165 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.9293, allocations: 10.16 kB / 1.165 GB, free: 1.137 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004057/0.9297, allocations: 216.7 kB / 1.165 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.9313, allocations: 1.252 MB / 1.166 GB, free: 72 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/0.9317, allocations: 179.4 kB / 1.166 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.9319, allocations: 125.4 kB / 1.166 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008387/0.9328, allocations: 339.1 kB / 1.167 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.9328, allocations: 41.97 kB / 1.167 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.9328, allocations: 5.25 kB / 1.167 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0007633/0.9336, allocations: 289.6 kB / 1.167 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.437e-05/0.9337, allocations: 164.9 kB / 1.167 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.934, allocations: 285.2 kB / 1.167 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.934, allocations: 30.7 kB / 1.167 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.9341, allocations: 143.2 kB / 1.167 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.9342, allocations: 44.31 kB / 1.168 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-06/0.9342, allocations: 1.438 kB / 1.168 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.9344, allocations: 348.1 kB / 1.168 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.9345, allocations: 68.8 kB / 1.168 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.9348, allocations: 147.2 kB / 1.168 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.9352, allocations: 227 kB / 1.168 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.9352, allocations: 1.031 kB / 1.168 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005471/0.9357, allocations: 250.4 kB / 1.169 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.9358, allocations: 10.64 kB / 1.169 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.9358, allocations: 5.656 kB / 1.169 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.9358, allocations: 3.062 kB / 1.169 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.936, allocations: 40.7 kB / 1.169 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.9361, allocations: 6.188 kB / 1.169 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.9363, allocations: 41.36 kB / 1.169 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/0.9363, allocations: 12.09 kB / 1.169 GB, free: 14.15 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.9365, allocations: 154 kB / 1.169 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.9366, allocations: 24.75 kB / 1.169 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005193/0.9372, allocations: 198.8 kB / 1.169 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.9372, allocations: 3.094 kB / 1.169 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.9372, allocations: 1.031 kB / 1.169 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.9372, allocations: 5.125 kB / 1.169 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.9382, allocations: 0.8657 MB / 1.17 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.9383, allocations: 5.969 kB / 1.17 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.9384, allocations: 29.17 kB / 1.17 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.9384, allocations: 5.938 kB / 1.17 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.9384, allocations: 2.188 kB / 1.17 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.9384, allocations: 2.625 kB / 1.17 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.9384, allocations: 1.188 kB / 1.17 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005969/0.939, allocations: 356.9 kB / 1.17 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.9392, allocations: 123.6 kB / 1.17 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.9392, allocations: 1.875 kB / 1.17 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.9395, allocations: 15.94 kB / 1.17 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/0.9395, allocations: 12.59 kB / 1.17 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.9396, allocations: 7.75 kB / 1.17 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003185/0.9399, allocations: 233.1 kB / 1.171 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9399, allocations: 0 / 1.171 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005898/0.9405, allocations: 93.16 kB / 1.171 GB, free: 12.64 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 (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.0006192/0.9411, allocations: 209.7 kB / 1.171 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004284/0.9415, allocations: 154 kB / 1.171 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9416, allocations: 1.406 kB / 1.171 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.9417, allocations: 71.66 kB / 1.171 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008436/0.9426, allocations: 128 kB / 1.171 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009357/0.9435, allocations: 0.5745 MB / 1.172 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.9439, allocations: 0.758 MB / 1.173 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002296/0.9441, allocations: 62.56 kB / 1.173 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.745e-05/0.9442, allocations: 22.16 kB / 1.173 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of SimCode: time 4.51e-07/0.9442, allocations: 1.469 kB / 1.173 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of Templates: time 0.01065/0.9548, allocations: 5.329 MB / 1.178 GB, free: 11.02 MB / 0.7761 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)