Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy") translateModel(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.00123/0.00123, allocations: 102.9 kB / 16.94 MB, free: 5.777 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.001311/0.001311, allocations: 191.3 kB / 17.87 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 241.6 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7789/0.7789, allocations: 122.8 MB / 414.6 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001517, allocations: 67.91 kB / 0.4917 GB, free: 7.402 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4034, allocations: 77.92 MB / 0.5678 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.1808/0.5843, allocations: 163.2 MB / 0.7272 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005753/0.5901, allocations: 4.572 MB / 0.7317 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004158/0.5905, allocations: 11.94 kB / 0.7317 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004659/0.591, allocations: 123 kB / 0.7318 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.5924, allocations: 0.5406 MB / 0.7324 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.5943, allocations: 0.7688 MB / 0.7331 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007583/0.5951, allocations: 0.5768 MB / 0.7337 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003445/0.5954, allocations: 213.1 kB / 0.7339 GB, free: 376 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.5965, allocations: 466.2 kB / 0.7343 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005873/0.5971, allocations: 286.9 kB / 0.7346 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.994e-05/0.5971, allocations: 20 kB / 0.7346 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.5989, allocations: 1.002 MB / 0.7356 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.599, allocations: 87.72 kB / 0.7357 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.5992, allocations: 127.4 kB / 0.7358 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.6003, allocations: 0.713 MB / 0.7365 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.6003, allocations: 0 / 0.7365 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.213e-06/0.6003, allocations: 0 / 0.7365 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.6003, allocations: 4 kB / 0.7365 GB, free: 13.68 MB / 0.5762 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.001017/0.6014, allocations: 0.5841 MB / 0.7371 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.6014, allocations: 16.62 kB / 0.7371 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006994/0.6021, allocations: 83.48 kB / 0.7372 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.6025, allocations: 283.3 kB / 0.7374 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.6025, allocations: 12 kB / 0.7374 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.595e-05/0.6026, allocations: 24 kB / 0.7375 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005016/0.6031, allocations: 291.4 kB / 0.7377 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.6031, allocations: 3.938 kB / 0.7377 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.6032, allocations: 12 kB / 0.7378 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.6032, allocations: 11.88 kB / 0.7378 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004264/0.6036, allocations: 199.5 kB / 0.738 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.6052, allocations: 1.242 MB / 0.7392 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.6055, allocations: 173 kB / 0.7393 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.6057, allocations: 108.2 kB / 0.7394 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007688/0.6065, allocations: 343.2 kB / 0.7398 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.6066, allocations: 38.69 kB / 0.7398 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.993e-06/0.6066, allocations: 0 / 0.7398 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007954/0.6074, allocations: 277.1 kB / 0.7401 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.773e-05/0.6075, allocations: 158.7 kB / 0.7402 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.6078, allocations: 291 kB / 0.7405 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.6078, allocations: 25.7 kB / 0.7405 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.6079, allocations: 147.8 kB / 0.7407 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.421e-05/0.608, allocations: 51.3 kB / 0.7407 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.587e-05/0.608, allocations: 41.7 kB / 0.7407 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.6082, allocations: 338.8 kB / 0.7411 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.6084, allocations: 63.95 kB / 0.7411 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.6086, allocations: 148.5 kB / 0.7413 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000371/0.609, allocations: 211.5 kB / 0.7415 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.609, allocations: 3.938 kB / 0.7415 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004958/0.6095, allocations: 249.1 kB / 0.7417 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.6095, allocations: 4 kB / 0.7417 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.6095, allocations: 4 kB / 0.7417 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.6096, allocations: 4 kB / 0.7417 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.6098, allocations: 36.22 kB / 0.7418 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.6098, allocations: 11.94 kB / 0.7418 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.61, allocations: 27.73 kB / 0.7418 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.61, allocations: 15.94 kB / 0.7418 GB, free: 7.758 MB / 0.5762 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.0001311/0.6101, allocations: 146.2 kB / 0.742 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.6103, allocations: 23.72 kB / 0.742 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004754/0.6108, allocations: 193.7 kB / 0.7422 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.6108, allocations: 4 kB / 0.7422 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.6108, allocations: 0 / 0.7422 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.6108, allocations: 7.984 kB / 0.7422 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009987/0.6118, allocations: 0.847 MB / 0.743 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.6119, allocations: 160 / 0.743 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.612, allocations: 31.97 kB / 0.743 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.612, allocations: 3.938 kB / 0.743 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.612, allocations: 4 kB / 0.743 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.612, allocations: 3.938 kB / 0.743 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.612, allocations: 4 kB / 0.743 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005807/0.6126, allocations: 339.4 kB / 0.7434 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.6127, allocations: 116.7 kB / 0.7435 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.6128, allocations: 4.094 kB / 0.7435 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.613, allocations: 15.92 kB / 0.7435 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.613, allocations: 12.05 kB / 0.7435 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.613, allocations: 4 kB / 0.7435 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002637/0.6133, allocations: 237.9 kB / 0.7437 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6133, allocations: 0 / 0.7437 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004761/0.6138, allocations: 84 kB / 0.7438 GB, free: 5.551 MB / 0.5762 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.0006341/0.6144, allocations: 234.4 kB / 0.744 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004225/0.6149, allocations: 151.8 kB / 0.7442 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6149, allocations: 0.5 kB / 0.7442 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.615, allocations: 63.89 kB / 0.7443 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008153/0.6159, allocations: 136.8 kB / 0.7444 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009876/0.6169, allocations: 0.5325 MB / 0.7449 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.6173, allocations: 0.7597 MB / 0.7456 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.889e-05/0.6174, allocations: 23.44 kB / 0.7457 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.6174, allocations: 0 / 0.7457 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of Templates: time 0.2805/0.8979, allocations: 5.214 MB / 0.7508 GB, free: 172.1 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)