Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 111.4 kB / 17.08 MB, free: 6.004 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.001745/0.001745, allocations: 200.1 kB / 18.02 MB, free: 5.082 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.362/1.362, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7438/0.7438, allocations: 115.3 MB / 407.2 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 68.06 kB / 0.5583 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1585, allocations: 76.19 MB / 0.6327 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.6214/0.7799, allocations: 169.4 MB / 0.7982 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007823/0.7878, allocations: 7.131 MB / 0.8052 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006741/0.7885, allocations: 11.09 kB / 0.8052 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005937/0.7891, allocations: 167.4 kB / 0.8053 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003134/0.7924, allocations: 1.267 MB / 0.8066 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001636/0.794, allocations: 0.631 MB / 0.8072 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008791/0.7949, allocations: 0.7583 MB / 0.8079 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004184/0.7953, allocations: 287.7 kB / 0.8082 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.7965, allocations: 0.5785 MB / 0.8088 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007895/0.7973, allocations: 427.9 kB / 0.8092 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.99e-05/0.7973, allocations: 25.09 kB / 0.8092 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/0.7996, allocations: 1.244 MB / 0.8104 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.7997, allocations: 122.4 kB / 0.8105 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.7999, allocations: 173.5 kB / 0.8107 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.8015, allocations: 0.8985 MB / 0.8116 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.8015, allocations: 1.781 kB / 0.8116 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.724e-06/0.8015, allocations: 0 / 0.8116 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.8015, allocations: 4 kB / 0.8116 GB, free: 10.61 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001014/0.8025, allocations: 0.6919 MB / 0.8123 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.8026, allocations: 10.09 kB / 0.8123 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009764/0.8036, allocations: 128.6 kB / 0.8124 GB, free: 10 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004752/0.804, allocations: 354 kB / 0.8127 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.266e-05/0.8041, allocations: 45.89 kB / 0.8128 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.8042, allocations: 28.34 kB / 0.8128 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006079/0.8048, allocations: 371.2 kB / 0.8131 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.8048, allocations: 0 / 0.8131 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.8048, allocations: 13.53 kB / 0.8132 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.8049, allocations: 7.344 kB / 0.8132 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004782/0.8053, allocations: 265.9 kB / 0.8134 GB, free: 9.48 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.8071, allocations: 1.489 MB / 0.8149 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.8075, allocations: 198.5 kB / 0.8151 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.8077, allocations: 116.5 kB / 0.8152 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009182/0.8086, allocations: 0.5049 MB / 0.8157 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.8087, allocations: 36 kB / 0.8157 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/0.8087, allocations: 0 / 0.8157 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0008976/0.8096, allocations: 358.6 kB / 0.816 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.8097, allocations: 54.31 kB / 0.8161 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.8099, allocations: 322.5 kB / 0.8164 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.81, allocations: 29.27 kB / 0.8164 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.8101, allocations: 177.8 kB / 0.8166 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.8102, allocations: 57.95 kB / 0.8167 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.124e-05/0.8102, allocations: 41.83 kB / 0.8167 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.8104, allocations: 344.1 kB / 0.817 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.8106, allocations: 81.72 kB / 0.8171 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.8108, allocations: 148.6 kB / 0.8172 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003834/0.8112, allocations: 239.1 kB / 0.8175 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/0.8112, allocations: 7.875 kB / 0.8175 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005351/0.8117, allocations: 281.9 kB / 0.8177 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.8118, allocations: 5.281 kB / 0.8178 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.8118, allocations: 0 / 0.8178 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.8118, allocations: 4.75 kB / 0.8178 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.812, allocations: 49.59 kB / 0.8178 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.812, allocations: 2.562 kB / 0.8178 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.8122, allocations: 33.58 kB / 0.8178 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.8123, allocations: 13.78 kB / 0.8179 GB, free: 6.465 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001568/0.8124, allocations: 156.1 kB / 0.818 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.8126, allocations: 27.44 kB / 0.818 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006655/0.8132, allocations: 318 kB / 0.8183 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.8132, allocations: 0 / 0.8183 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.8133, allocations: 0 / 0.8183 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.8133, allocations: 2.344 kB / 0.8183 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.8145, allocations: 0.8047 MB / 0.8191 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.8145, allocations: 2.125 kB / 0.8191 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.8147, allocations: 29.2 kB / 0.8191 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.8147, allocations: 8.953 kB / 0.8192 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.8147, allocations: 18.84 kB / 0.8192 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.8148, allocations: 2.312 kB / 0.8192 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.8148, allocations: 2.625 kB / 0.8192 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005758/0.8153, allocations: 394.7 kB / 0.8196 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.8155, allocations: 136.2 kB / 0.8197 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/0.8155, allocations: 14.92 kB / 0.8197 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.8158, allocations: 11.14 kB / 0.8197 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.8158, allocations: 23.67 kB / 0.8197 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.8159, allocations: 8 kB / 0.8197 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001968/0.8161, allocations: 226.3 kB / 0.82 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8161, allocations: 1.906 kB / 0.82 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005069/0.8166, allocations: 119.1 kB / 0.8201 GB, free: 4.922 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * 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.0005608/0.8171, allocations: 237.4 kB / 0.8203 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000473/0.8176, allocations: 226.1 kB / 0.8205 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8176, allocations: 0 / 0.8205 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000211/0.8179, allocations: 120.7 kB / 0.8206 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008275/0.8187, allocations: 167.5 kB / 0.8208 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.8197, allocations: 0.6265 MB / 0.8214 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.8201, allocations: 0.7867 MB / 0.8222 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.8202, allocations: 34.44 kB / 0.8222 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.8202, allocations: 0 / 0.8222 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of Templates: time 0.008953/0.8291, allocations: 6.261 MB / 0.8283 GB, free: 88 kB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)