Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7817/0.7817, allocations: 143.4 MB / 159.2 MB, free: 4.91 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 190.7 kB / 191.9 MB, free: 5.727 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 447.3 MB, free: 5.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 107.2 kB / 0.517 GB, free: 3.703 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001867/0.001867, allocations: 282 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 83.88 kB / 0.6885 GB, free: 3.828 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3935, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.5901/0.9837, allocations: 161 MB / 0.9251 GB, free: 496 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004729/0.9885, allocations: 4.633 MB / 0.9296 GB, free: 392 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005267/0.989, allocations: 9.609 kB / 0.9297 GB, free: 392 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004422/0.9895, allocations: 98.25 kB / 0.9298 GB, free: 392 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.9908, allocations: 0.5068 MB / 0.9302 GB, free: 364 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.9925, allocations: 0.7125 MB / 0.9309 GB, free: 328 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0008515/0.9934, allocations: 0.813 MB / 0.9317 GB, free: 328 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003105/0.9937, allocations: 177.9 kB / 0.9319 GB, free: 300 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.9947, allocations: 438.4 kB / 0.9323 GB, free: 284 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006096/0.9954, allocations: 296.2 kB / 0.9326 GB, free: 280 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.868e-05/0.9954, allocations: 13.56 kB / 0.9326 GB, free: 280 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001937/0.9974, allocations: 1.158 MB / 0.9338 GB, free: 272 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.9975, allocations: 89.38 kB / 0.9338 GB, free: 268 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.9977, allocations: 122.7 kB / 0.934 GB, free: 268 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.999, allocations: 0.7675 MB / 0.9347 GB, free: 228 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.999, allocations: 1.344 kB / 0.9347 GB, free: 228 kB / 0.5573 GB Notification: Performance of FrontEnd: time 8.11e-07/0.999, allocations: 0 / 0.9347 GB, free: 228 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.9991, allocations: 0 / 0.9347 GB, free: 228 kB / 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.001141/1, allocations: 0.5899 MB / 0.9353 GB, free: 15.77 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/1, allocations: 9.125 kB / 0.9353 GB, free: 15.77 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006956/1.001, allocations: 87.81 kB / 0.9354 GB, free: 15.74 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004573/1.001, allocations: 279.4 kB / 0.9356 GB, free: 15.52 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/1.001, allocations: 15.62 kB / 0.9357 GB, free: 15.52 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.853e-05/1.002, allocations: 20.5 kB / 0.9357 GB, free: 15.52 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004911/1.002, allocations: 282.8 kB / 0.9359 GB, free: 15.43 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/1.002, allocations: 1.203 kB / 0.9359 GB, free: 15.43 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/1.002, allocations: 9.438 kB / 0.936 GB, free: 15.43 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/1.002, allocations: 11.34 kB / 0.936 GB, free: 15.43 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004234/1.003, allocations: 203.4 kB / 0.9362 GB, free: 15.43 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/1.004, allocations: 1.248 MB / 0.9374 GB, free: 14.58 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/1.004, allocations: 171.9 kB / 0.9375 GB, free: 14.46 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000263/1.005, allocations: 112.9 kB / 0.9376 GB, free: 14.42 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000804/1.006, allocations: 330.3 kB / 0.938 GB, free: 14.13 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/1.006, allocations: 45.73 kB / 0.938 GB, free: 14.09 MB / 0.573 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/1.006, allocations: 0 / 0.938 GB, free: 14.09 MB / 0.573 GB Notification: Performance of matching and sorting (n=13): time 0.000873/1.006, allocations: 280 kB / 0.9383 GB, free: 14.04 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.051e-05/1.007, allocations: 160.1 kB / 0.9384 GB, free: 13.86 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004094/1.007, allocations: 285.3 kB / 0.9387 GB, free: 13.75 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/1.007, allocations: 34.36 kB / 0.9387 GB, free: 13.72 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/1.007, allocations: 147.7 kB / 0.9389 GB, free: 13.62 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.923e-05/1.007, allocations: 47.22 kB / 0.9389 GB, free: 13.59 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/1.007, allocations: 43.66 kB / 0.939 GB, free: 13.57 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.007, allocations: 340.9 kB / 0.9393 GB, free: 13.26 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/1.008, allocations: 66.23 kB / 0.9393 GB, free: 13.26 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/1.008, allocations: 150.2 kB / 0.9395 GB, free: 13.18 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003792/1.008, allocations: 207.5 kB / 0.9397 GB, free: 13.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/1.008, allocations: 5.438 kB / 0.9397 GB, free: 13.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004933/1.009, allocations: 249.9 kB / 0.9399 GB, free: 13.05 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/1.009, allocations: 7.469 kB / 0.9399 GB, free: 13.05 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.009, allocations: 2.688 kB / 0.9399 GB, free: 13.05 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/1.009, allocations: 2.906 kB / 0.9399 GB, free: 13.05 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/1.009, allocations: 36.47 kB / 0.94 GB, free: 13.05 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/1.009, allocations: 4.406 kB / 0.94 GB, free: 13.05 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/1.009, allocations: 36.27 kB / 0.94 GB, free: 13.04 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/1.009, allocations: 15.48 kB / 0.94 GB, free: 13.04 MB / 0.573 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.000122/1.009, allocations: 150.7 kB / 0.9402 GB, free: 12.92 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/1.01, allocations: 21.31 kB / 0.9402 GB, free: 12.91 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004501/1.01, allocations: 189.8 kB / 0.9404 GB, free: 12.83 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/1.01, allocations: 2.469 kB / 0.9404 GB, free: 12.83 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.01, allocations: 2.938 kB / 0.9404 GB, free: 12.83 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.01, allocations: 0 / 0.9404 GB, free: 12.83 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009968/1.011, allocations: 0.8551 MB / 0.9412 GB, free: 12.19 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/1.011, allocations: 2.562 kB / 0.9412 GB, free: 12.19 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/1.011, allocations: 28.58 kB / 0.9412 GB, free: 12.18 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/1.011, allocations: 6.406 kB / 0.9413 GB, free: 12.18 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/1.011, allocations: 3.797 kB / 0.9413 GB, free: 12.18 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/1.011, allocations: 1.406 kB / 0.9413 GB, free: 12.18 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.011, allocations: 2.594 kB / 0.9413 GB, free: 12.18 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004085/1.015, allocations: 1.905 MB / 0.9431 GB, free: 11.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/1.015, allocations: 113.2 kB / 0.9432 GB, free: 10.99 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/1.015, allocations: 10.91 kB / 0.9432 GB, free: 10.98 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/1.016, allocations: 12.73 kB / 0.9433 GB, free: 10.98 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/1.016, allocations: 13.03 kB / 0.9433 GB, free: 10.98 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/1.016, allocations: 8.219 kB / 0.9433 GB, free: 10.97 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002221/1.016, allocations: 238 kB / 0.9435 GB, free: 10.89 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.3e-07/1.016, allocations: 0 / 0.9435 GB, free: 10.89 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006285/1.017, allocations: 117.5 kB / 0.9436 GB, free: 10.89 MB / 0.573 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.0005434/1.017, allocations: 218.4 kB / 0.9438 GB, free: 10.78 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0003818/1.018, allocations: 150.1 kB / 0.944 GB, free: 10.77 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.018, allocations: 2.25 kB / 0.944 GB, free: 10.77 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001329/1.018, allocations: 57.06 kB / 0.944 GB, free: 10.77 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008475/1.019, allocations: 134.4 kB / 0.9441 GB, free: 10.76 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/1.02, allocations: 0.6864 MB / 0.9448 GB, free: 10.28 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/1.02, allocations: 0.7659 MB / 0.9456 GB, free: 9.578 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002118/1.02, allocations: 66.5 kB / 0.9456 GB, free: 9.555 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/1.02, allocations: 30.03 kB / 0.9457 GB, free: 9.543 MB / 0.573 GB Notification: Performance of SimCode: time 2.5e-07/1.02, allocations: 0 / 0.9457 GB, free: 9.543 MB / 0.573 GB Notification: Performance of Templates: time 0.009426/1.03, allocations: 5.711 MB / 0.9512 GB, free: 9.133 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)