Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0008998/0.0008998, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0008931/0.0008931, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9418/0.9418, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.000345, allocations: 19.98 kB / 0.5158 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.146, allocations: 83.4 MB / 0.5973 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.4131/0.5592, allocations: 137 MB / 0.731 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004941/0.5642, allocations: 3.579 MB / 0.7345 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002725/0.5645, allocations: 8.812 kB / 0.7345 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006803/0.5652, allocations: 156.8 kB / 0.7347 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.5664, allocations: 361.5 kB / 0.735 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.568, allocations: 0.5764 MB / 0.7356 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005011/0.5685, allocations: 347.5 kB / 0.7359 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003344/0.5689, allocations: 164.2 kB / 0.7361 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008169/0.5697, allocations: 329.5 kB / 0.7364 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004962/0.5702, allocations: 221.4 kB / 0.7366 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.5703, allocations: 15.22 kB / 0.7366 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.5713, allocations: 428.6 kB / 0.737 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.5714, allocations: 83.95 kB / 0.7371 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.65e-05/0.5715, allocations: 69.58 kB / 0.7372 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005615/0.572, allocations: 357.9 kB / 0.7375 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.5721, allocations: 7.938 kB / 0.7375 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5721, allocations: 0 / 0.7375 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.85e-06/0.5721, allocations: 0 / 0.7375 GB, free: 11.13 MB / 0.5606 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.0008195/0.5729, allocations: 0.5318 MB / 0.7381 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.5729, allocations: 8.031 kB / 0.7381 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006863/0.5736, allocations: 86.62 kB / 0.7381 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.574, allocations: 276.6 kB / 0.7384 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.5741, allocations: 15.98 kB / 0.7384 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.5741, allocations: 20 kB / 0.7384 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005215/0.5746, allocations: 286.8 kB / 0.7387 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.5747, allocations: 0 / 0.7387 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.5747, allocations: 8 kB / 0.7387 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.5747, allocations: 4 kB / 0.7387 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004488/0.5752, allocations: 219.7 kB / 0.7389 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/0.5767, allocations: 1.26 MB / 0.7402 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/0.577, allocations: 192.2 kB / 0.7404 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003982/0.5774, allocations: 141.8 kB / 0.7405 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.5775, allocations: 43.27 kB / 0.7405 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.5775, allocations: 0 / 0.7405 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0008291/0.5783, allocations: 332.7 kB / 0.7408 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.711e-05/0.5784, allocations: 159.4 kB / 0.741 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.5787, allocations: 282 kB / 0.7413 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.5788, allocations: 37.64 kB / 0.7413 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.5789, allocations: 139.4 kB / 0.7414 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.326e-05/0.5789, allocations: 47.34 kB / 0.7415 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.278e-06/0.5789, allocations: 0 / 0.7415 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.5791, allocations: 342.9 kB / 0.7418 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.5793, allocations: 80.78 kB / 0.7419 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.5795, allocations: 170.8 kB / 0.742 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.5797, allocations: 95.97 kB / 0.7421 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.5798, allocations: 0.6562 kB / 0.7421 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005441/0.5803, allocations: 281.1 kB / 0.7424 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.5803, allocations: 5.562 kB / 0.7424 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.5803, allocations: 4 kB / 0.7424 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.5804, allocations: 7.953 kB / 0.7424 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.5806, allocations: 47.3 kB / 0.7425 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.5806, allocations: 0 / 0.7425 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.5808, allocations: 31.91 kB / 0.7425 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.5808, allocations: 12.98 kB / 0.7425 GB, free: 6.211 MB / 0.5606 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.0001445/0.581, allocations: 151.1 kB / 0.7427 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.5811, allocations: 32.55 kB / 0.7427 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005777/0.5817, allocations: 225.7 kB / 0.7429 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.5817, allocations: 12.61 kB / 0.7429 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.5817, allocations: 0.5625 kB / 0.7429 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.5818, allocations: 4.844 kB / 0.7429 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.5829, allocations: 0.9226 MB / 0.7438 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5829, allocations: 7.938 kB / 0.7438 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.5831, allocations: 25.97 kB / 0.7439 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.5831, allocations: 4 kB / 0.7439 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.5831, allocations: 9.172 kB / 0.7439 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5831, allocations: 160 / 0.7439 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.5832, allocations: 12.34 kB / 0.7439 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000711/0.5839, allocations: 483.9 kB / 0.7443 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.584, allocations: 111.5 kB / 0.7444 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.584, allocations: 11.95 kB / 0.7445 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.5842, allocations: 11.56 kB / 0.7445 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.5843, allocations: 15.31 kB / 0.7445 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.5843, allocations: 8.75 kB / 0.7445 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002215/0.5845, allocations: 220.4 kB / 0.7447 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.904e-06/0.5845, allocations: 0 / 0.7447 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004837/0.585, allocations: 102.5 kB / 0.7448 GB, free: 3.918 MB / 0.5606 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 (12): * Single equations (assignments): 12 * 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.0005/0.5855, allocations: 189 kB / 0.745 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004573/0.586, allocations: 190 kB / 0.7452 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.586, allocations: 0 / 0.7452 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.5862, allocations: 94.34 kB / 0.7452 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007277/0.587, allocations: 129.2 kB / 0.7454 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008974/0.5879, allocations: 0.5943 MB / 0.746 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.5882, allocations: 0.7642 MB / 0.7467 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002122/0.5884, allocations: 63.64 kB / 0.7468 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.105e-05/0.5885, allocations: 25.22 kB / 0.7468 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of SimCode: time 1.683e-06/0.5885, allocations: 4 kB / 0.7468 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of Templates: time 0.009746/0.5983, allocations: 5.528 MB / 0.7522 GB, free: 13.04 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) Environment - environmentSimulation: