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.001097/0.001097, allocations: 106.8 kB / 16.4 MB, free: 6.461 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.001123/0.001123, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7307/0.7307, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 62.53 kB / 0.5577 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1648, allocations: 76.18 MB / 0.6321 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5663/0.7311, allocations: 169.4 MB / 0.7975 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006878/0.7381, allocations: 7.131 MB / 0.8045 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005777/0.7387, allocations: 15.62 kB / 0.8045 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006068/0.7393, allocations: 168.2 kB / 0.8047 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002981/0.7424, allocations: 1.262 MB / 0.8059 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.7439, allocations: 0.6313 MB / 0.8065 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007862/0.7447, allocations: 0.7594 MB / 0.8073 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003874/0.7451, allocations: 294.2 kB / 0.8075 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009772/0.7461, allocations: 0.578 MB / 0.8081 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000667/0.7468, allocations: 417.4 kB / 0.8085 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.157e-05/0.7469, allocations: 25.19 kB / 0.8085 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.7486, allocations: 1.252 MB / 0.8097 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.7487, allocations: 111.2 kB / 0.8099 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.7489, allocations: 186.9 kB / 0.81 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.75, allocations: 0.8999 MB / 0.8109 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.75, allocations: 4 kB / 0.8109 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7501, allocations: 0 / 0.8109 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.7501, allocations: 0 / 0.8109 GB, free: 10.63 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.0009276/0.751, allocations: 0.6963 MB / 0.8116 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.751, allocations: 10.16 kB / 0.8116 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009411/0.752, allocations: 129.9 kB / 0.8117 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004882/0.7525, allocations: 350.6 kB / 0.8121 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.821e-05/0.7526, allocations: 45.55 kB / 0.8121 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.7526, allocations: 35.91 kB / 0.8121 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005858/0.7532, allocations: 365.7 kB / 0.8125 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.7532, allocations: 1.812 kB / 0.8125 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.7533, allocations: 13.19 kB / 0.8125 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.7533, allocations: 5.188 kB / 0.8125 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005087/0.7538, allocations: 271.5 kB / 0.8128 GB, free: 9.504 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.001723/0.7555, allocations: 1.486 MB / 0.8142 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003624/0.7559, allocations: 195.1 kB / 0.8144 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.7561, allocations: 121.5 kB / 0.8145 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009083/0.757, allocations: 0.4999 MB / 0.815 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.7571, allocations: 37.69 kB / 0.815 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.7571, allocations: 0 / 0.815 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.000917/0.758, allocations: 352.1 kB / 0.8154 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.758, allocations: 54.31 kB / 0.8154 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.7583, allocations: 318.2 kB / 0.8157 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.7584, allocations: 32.17 kB / 0.8158 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.7585, allocations: 179.4 kB / 0.8159 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.616e-05/0.7585, allocations: 60.66 kB / 0.816 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.883e-05/0.7586, allocations: 41.33 kB / 0.816 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.7587, allocations: 339.4 kB / 0.8164 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.7589, allocations: 90.27 kB / 0.8164 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.7591, allocations: 143.5 kB / 0.8166 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/0.7596, allocations: 245 kB / 0.8168 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.7596, allocations: 3.938 kB / 0.8168 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005347/0.7601, allocations: 281 kB / 0.8171 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.7601, allocations: 11.59 kB / 0.8171 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.7601, allocations: 0 / 0.8171 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.7602, allocations: 2.344 kB / 0.8171 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.7604, allocations: 36.7 kB / 0.8171 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.7604, allocations: 6.438 kB / 0.8171 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.7606, allocations: 41.17 kB / 0.8172 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.7606, allocations: 17.89 kB / 0.8172 GB, free: 6.484 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.0001409/0.7608, allocations: 147.8 kB / 0.8173 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.994e-05/0.7609, allocations: 35.09 kB / 0.8174 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007118/0.7616, allocations: 317.4 kB / 0.8177 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.7616, allocations: 2.719 kB / 0.8177 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.7616, allocations: 0 / 0.8177 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.7616, allocations: 0 / 0.8177 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.7629, allocations: 0.8086 MB / 0.8185 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.7629, allocations: 0 / 0.8185 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.7631, allocations: 39.81 kB / 0.8185 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.7631, allocations: 2.719 kB / 0.8185 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.7632, allocations: 12.66 kB / 0.8185 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.842e-06/0.7632, allocations: 7.5 kB / 0.8185 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.7632, allocations: 2.406 kB / 0.8185 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005807/0.7638, allocations: 397.6 kB / 0.8189 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.7639, allocations: 135 kB / 0.819 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.764, allocations: 12.28 kB / 0.819 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.7642, allocations: 16.95 kB / 0.8191 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.7643, allocations: 15.3 kB / 0.8191 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.7643, allocations: 7.906 kB / 0.8191 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001973/0.7645, allocations: 226.5 kB / 0.8193 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7645, allocations: 0 / 0.8193 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004984/0.765, allocations: 124.8 kB / 0.8194 GB, free: 4.91 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.0005585/0.7656, allocations: 230.4 kB / 0.8196 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004786/0.7661, allocations: 221.6 kB / 0.8199 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7661, allocations: 3.938 kB / 0.8199 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.7663, allocations: 115.5 kB / 0.82 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000863/0.7672, allocations: 174.1 kB / 0.8201 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009943/0.7682, allocations: 0.5928 MB / 0.8207 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.7685, allocations: 0.7893 MB / 0.8215 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002347/0.7688, allocations: 88.06 kB / 0.8216 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.308e-05/0.7689, allocations: 27.62 kB / 0.8216 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of SimCode: time 2.51e-07/0.7689, allocations: 0 / 0.8216 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of Templates: time 0.01151/0.7804, allocations: 7.424 MB / 0.8288 GB, free: 15.58 MB / 0.6075 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)