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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00092/0.0009238, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009759/0.0009759, allocations: 172.7 kB / 15.95 MB, free: 208 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.305/1.305, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001735/0.001735, allocations: 274.3 kB / 291.4 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9521/0.9521, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003944, allocations: 18.78 kB / 0.598 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1417, allocations: 88.54 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.4203/0.562, allocations: 148.2 MB / 0.8292 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004604/0.5666, allocations: 4.26 MB / 0.8334 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.5668, allocations: 8.688 kB / 0.8334 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.5672, allocations: 87.05 kB / 0.8335 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.5682, allocations: 380.7 kB / 0.8338 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.5695, allocations: 0.528 MB / 0.8344 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006799/0.5702, allocations: 0.6811 MB / 0.835 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002567/0.5705, allocations: 162.2 kB / 0.8352 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007271/0.5712, allocations: 367.5 kB / 0.8355 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004716/0.5717, allocations: 278.8 kB / 0.8358 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.5717, allocations: 8.125 kB / 0.8358 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009941/0.5727, allocations: 0.5109 MB / 0.8363 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.031e-05/0.5728, allocations: 84.05 kB / 0.8364 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.33e-05/0.5729, allocations: 70.11 kB / 0.8364 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004534/0.5734, allocations: 411.9 kB / 0.8368 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5734, allocations: 3.406 kB / 0.8368 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5734, allocations: 0 / 0.8368 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.5734, allocations: 0 / 0.8368 GB, free: 9.922 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.0007278/0.5741, allocations: 0.5555 MB / 0.8374 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.5742, allocations: 12.28 kB / 0.8374 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005844/0.5747, allocations: 86.28 kB / 0.8375 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.5751, allocations: 274.7 kB / 0.8377 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.5751, allocations: 17.47 kB / 0.8378 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.5752, allocations: 16.12 kB / 0.8378 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004385/0.5756, allocations: 292.4 kB / 0.8381 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.5756, allocations: 0 / 0.8381 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.5756, allocations: 7.344 kB / 0.8381 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.5757, allocations: 3.281 kB / 0.8381 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003935/0.576, allocations: 228.9 kB / 0.8383 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.5774, allocations: 1.241 MB / 0.8395 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.5777, allocations: 182.5 kB / 0.8397 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.5779, allocations: 118.5 kB / 0.8398 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006765/0.5786, allocations: 351.6 kB / 0.8401 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.5786, allocations: 42.06 kB / 0.8402 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.5786, allocations: 0 / 0.8402 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0006896/0.5793, allocations: 286.4 kB / 0.8404 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.23e-05/0.5794, allocations: 164.6 kB / 0.8406 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.5797, allocations: 285 kB / 0.8409 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.5797, allocations: 36.77 kB / 0.8409 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.956e-05/0.5798, allocations: 142.5 kB / 0.841 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.5799, allocations: 46.55 kB / 0.8411 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/0.5799, allocations: 0 / 0.8411 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.58, allocations: 338 kB / 0.8414 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.5802, allocations: 70.81 kB / 0.8415 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.5804, allocations: 147 kB / 0.8416 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.5805, allocations: 96.58 kB / 0.8417 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.5806, allocations: 6.641 kB / 0.8417 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004699/0.581, allocations: 255.4 kB / 0.8419 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.5811, allocations: 5.062 kB / 0.842 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5811, allocations: 2.922 kB / 0.842 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.5811, allocations: 6.891 kB / 0.842 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.5813, allocations: 44.86 kB / 0.842 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.5813, allocations: 7.266 kB / 0.842 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.5815, allocations: 36.95 kB / 0.842 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.5815, allocations: 8.125 kB / 0.8421 GB, free: 5.555 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.0001394/0.5816, allocations: 150.9 kB / 0.8422 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.5818, allocations: 29.86 kB / 0.8422 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004443/0.5822, allocations: 203.9 kB / 0.8424 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.5823, allocations: 3.984 kB / 0.8424 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5823, allocations: 2.812 kB / 0.8424 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.5823, allocations: 0 / 0.8424 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008974/0.5832, allocations: 0.8595 MB / 0.8433 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.5832, allocations: 1.688 kB / 0.8433 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.5833, allocations: 38.39 kB / 0.8433 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.5833, allocations: 384 / 0.8433 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.5833, allocations: 2.438 kB / 0.8433 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5833, allocations: 2.25 kB / 0.8433 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5834, allocations: 2.969 kB / 0.8433 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005044/0.5839, allocations: 367.6 kB / 0.8437 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.584, allocations: 111.7 kB / 0.8438 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.584, allocations: 6.938 kB / 0.8438 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.5842, allocations: 11.89 kB / 0.8438 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.5842, allocations: 14.12 kB / 0.8438 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.5842, allocations: 6.734 kB / 0.8438 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002067/0.5845, allocations: 237.2 kB / 0.844 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5845, allocations: 4.062 kB / 0.844 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004098/0.5849, allocations: 97.75 kB / 0.8441 GB, free: 3.828 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 (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.000396/0.5853, allocations: 207.7 kB / 0.8443 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003515/0.5856, allocations: 154.3 kB / 0.8445 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5857, allocations: 0 / 0.8445 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.5858, allocations: 71.14 kB / 0.8445 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006793/0.5865, allocations: 118.6 kB / 0.8447 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007308/0.5872, allocations: 0.5744 MB / 0.8452 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.5875, allocations: 0.7551 MB / 0.846 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001854/0.5877, allocations: 66.44 kB / 0.846 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.805e-05/0.5878, allocations: 24.44 kB / 0.846 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.5878, allocations: 0 / 0.846 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of Templates: time 0.008532/0.5963, allocations: 5.31 MB / 0.8512 GB, free: 15.65 MB / 0.5762 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)