Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8228/0.8228, allocations: 143.8 MB / 159.1 MB, free: 6.488 MB / 122.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.001155/0.001155, allocations: 194 kB / 192 MB, free: 6.727 MB / 154.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.514/1.514, allocations: 225.7 MB / 450.4 MB, free: 5.004 MB / 330.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.0009018/0.0009016, allocations: 95.58 kB / 0.5211 GB, free: 1.668 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001762/0.001762, allocations: 277.4 kB / 0.6025 GB, free: 49.31 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004129/0.0004129, allocations: 17.75 kB / 0.6948 GB, free: 59.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1785, allocations: 82.45 MB / 0.7753 GB, free: 14.38 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.5415/0.7201, allocations: 152.3 MB / 0.9241 GB, free: 11 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.005336/0.7254, allocations: 6.079 MB / 0.93 GB, free: 8.625 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002197/0.7257, allocations: 7.844 kB / 0.93 GB, free: 8.621 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003657/0.7261, allocations: 99.69 kB / 0.9301 GB, free: 8.582 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.7273, allocations: 0.5076 MB / 0.9306 GB, free: 8.477 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.7288, allocations: 0.7151 MB / 0.9313 GB, free: 8.371 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0007584/0.7296, allocations: 0.8042 MB / 0.9321 GB, free: 8.289 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002862/0.7299, allocations: 181.5 kB / 0.9323 GB, free: 8.254 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008877/0.7308, allocations: 429.7 kB / 0.9327 GB, free: 8.191 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005341/0.7313, allocations: 284.4 kB / 0.9329 GB, free: 8.172 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.7313, allocations: 11.67 kB / 0.933 GB, free: 8.172 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001676/0.733, allocations: 1.145 MB / 0.9341 GB, free: 8.07 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.12e-05/0.7331, allocations: 84.69 kB / 0.9342 GB, free: 8.066 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.7333, allocations: 142.5 kB / 0.9343 GB, free: 8.035 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0009766/0.7343, allocations: 0.766 MB / 0.935 GB, free: 7.98 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.7343, allocations: 0 / 0.935 GB, free: 7.98 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7343, allocations: 3.938 kB / 0.935 GB, free: 7.977 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.7343, allocations: 0 / 0.935 GB, free: 7.977 MB / 0.5573 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.0008267/0.7351, allocations: 0.5581 MB / 0.9356 GB, free: 7.512 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.7352, allocations: 9.375 kB / 0.9356 GB, free: 7.512 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006422/0.7358, allocations: 79.44 kB / 0.9357 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.7362, allocations: 282.2 kB / 0.9359 GB, free: 7.27 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.7362, allocations: 14.25 kB / 0.936 GB, free: 7.27 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.989e-05/0.7363, allocations: 19.75 kB / 0.936 GB, free: 7.27 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004743/0.7367, allocations: 292.5 kB / 0.9363 GB, free: 7.172 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.7368, allocations: 1.688 kB / 0.9363 GB, free: 7.172 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.7368, allocations: 7.469 kB / 0.9363 GB, free: 7.172 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.7368, allocations: 9.062 kB / 0.9363 GB, free: 7.168 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004141/0.7372, allocations: 219.1 kB / 0.9365 GB, free: 7.156 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/0.7388, allocations: 1.252 MB / 0.9377 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.7392, allocations: 179.7 kB / 0.9379 GB, free: 6.129 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.7394, allocations: 117.7 kB / 0.938 GB, free: 6.07 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007638/0.7402, allocations: 346.4 kB / 0.9383 GB, free: 5.75 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.7402, allocations: 41.72 kB / 0.9384 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.7402, allocations: 0 / 0.9384 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13): time 0.0007028/0.7409, allocations: 288.8 kB / 0.9386 GB, free: 5.609 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.33e-05/0.741, allocations: 161.1 kB / 0.9388 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.7413, allocations: 284.3 kB / 0.9391 GB, free: 5.285 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.7413, allocations: 33.14 kB / 0.9391 GB, free: 5.25 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 9.655e-05/0.7414, allocations: 150.5 kB / 0.9392 GB, free: 5.145 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.7415, allocations: 44.84 kB / 0.9393 GB, free: 5.113 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.357e-06/0.7415, allocations: 2.406 kB / 0.9393 GB, free: 5.113 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.7416, allocations: 342 kB / 0.9396 GB, free: 4.789 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.7418, allocations: 70.81 kB / 0.9397 GB, free: 4.773 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.742, allocations: 144.8 kB / 0.9398 GB, free: 4.676 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.7423, allocations: 229.2 kB / 0.94 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7423, allocations: 384 / 0.94 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004552/0.7428, allocations: 261.7 kB / 0.9403 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.7428, allocations: 6.375 kB / 0.9403 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.7428, allocations: 80 / 0.9403 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.7428, allocations: 11.19 kB / 0.9403 GB, free: 4.457 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.743, allocations: 34.33 kB / 0.9403 GB, free: 4.453 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.743, allocations: 6.984 kB / 0.9403 GB, free: 4.449 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.7432, allocations: 41.98 kB / 0.9404 GB, free: 4.426 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.7433, allocations: 15.64 kB / 0.9404 GB, free: 4.422 MB / 0.5573 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.0001452/0.7434, allocations: 146.4 kB / 0.9405 GB, free: 4.297 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.7436, allocations: 29.84 kB / 0.9406 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004646/0.744, allocations: 202.9 kB / 0.9408 GB, free: 4.176 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.7441, allocations: 3.344 kB / 0.9408 GB, free: 4.176 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.7441, allocations: 0 / 0.9408 GB, free: 4.176 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.7441, allocations: 3.375 kB / 0.9408 GB, free: 4.176 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008904/0.745, allocations: 0.8695 MB / 0.9416 GB, free: 3.441 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.745, allocations: 0 / 0.9416 GB, free: 3.441 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.7451, allocations: 22.73 kB / 0.9416 GB, free: 3.438 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.7451, allocations: 7.344 kB / 0.9416 GB, free: 3.434 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.7451, allocations: 6.219 kB / 0.9416 GB, free: 3.434 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.7451, allocations: 7.531 kB / 0.9416 GB, free: 3.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.7452, allocations: 0 / 0.9416 GB, free: 3.43 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005012/0.7457, allocations: 351.3 kB / 0.942 GB, free: 3.207 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.7458, allocations: 123.6 kB / 0.9421 GB, free: 3.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.7458, allocations: 7.438 kB / 0.9421 GB, free: 3.086 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.746, allocations: 17.23 kB / 0.9421 GB, free: 3.078 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.7461, allocations: 13.17 kB / 0.9421 GB, free: 3.074 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.7461, allocations: 3.312 kB / 0.9421 GB, free: 3.074 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002354/0.7463, allocations: 233 kB / 0.9424 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.082e-06/0.7463, allocations: 0 / 0.9424 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004972/0.7468, allocations: 93.88 kB / 0.9425 GB, free: 2.957 MB / 0.5573 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.0005965/0.7474, allocations: 234.8 kB / 0.9427 GB, free: 2.812 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004024/0.7478, allocations: 155.2 kB / 0.9428 GB, free: 2.777 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.7479, allocations: 3.125 kB / 0.9428 GB, free: 2.777 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.748, allocations: 66.2 kB / 0.9429 GB, free: 2.762 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007689/0.7488, allocations: 140.5 kB / 0.943 GB, free: 2.707 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007608/0.7496, allocations: 0.5847 MB / 0.9436 GB, free: 2.273 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.7498, allocations: 0.7576 MB / 0.9443 GB, free: 1.543 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001907/0.75, allocations: 65.5 kB / 0.9444 GB, free: 1.516 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.083e-05/0.7501, allocations: 22.59 kB / 0.9444 GB, free: 1.508 MB / 0.5573 GB Notification: Performance of SimCode: time 2.1e-07/0.7501, allocations: 0 / 0.9444 GB, free: 1.508 MB / 0.5573 GB Notification: Performance of Templates: time 0.01002/0.7601, allocations: 5.582 MB / 0.9499 GB, free: 14.77 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)