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.00132/0.00132, allocations: 115.3 kB / 17.08 MB, free: 5.938 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.00113/0.001131, allocations: 196.2 kB / 18.02 MB, free: 5.027 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.365/1.365, allocations: 222.9 MB / 241.7 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.7277/0.7277, allocations: 115.3 MB / 407.2 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.06 kB / 0.5583 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1581, allocations: 76.19 MB / 0.6328 GB, free: 4.496 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.573/0.7311, allocations: 169.4 MB / 0.7982 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007578/0.7388, allocations: 7.128 MB / 0.8052 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006723/0.7395, allocations: 16.19 kB / 0.8052 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006034/0.7401, allocations: 167.4 kB / 0.8053 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003372/0.7435, allocations: 1.259 MB / 0.8066 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.7452, allocations: 0.6321 MB / 0.8072 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009743/0.7462, allocations: 0.7556 MB / 0.8079 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004399/0.7466, allocations: 298.4 kB / 0.8082 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.7479, allocations: 0.572 MB / 0.8088 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008017/0.7487, allocations: 428.1 kB / 0.8092 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.711e-05/0.7487, allocations: 24.81 kB / 0.8092 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002286/0.751, allocations: 1.245 MB / 0.8104 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.7512, allocations: 117.1 kB / 0.8105 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.7514, allocations: 183.7 kB / 0.8107 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.7528, allocations: 0.8987 MB / 0.8116 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.7528, allocations: 0 / 0.8116 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7528, allocations: 0 / 0.8116 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.7528, allocations: 0 / 0.8116 GB, free: 11.02 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.001006/0.7539, allocations: 0.6964 MB / 0.8123 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.7539, allocations: 7.531 kB / 0.8123 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.7549, allocations: 126.8 kB / 0.8124 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000557/0.7555, allocations: 345 kB / 0.8127 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.178e-05/0.7556, allocations: 47.77 kB / 0.8128 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/0.7556, allocations: 25 kB / 0.8128 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006157/0.7563, allocations: 369 kB / 0.8131 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.7563, allocations: 3.938 kB / 0.8131 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.7563, allocations: 22.47 kB / 0.8132 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.7563, allocations: 4.812 kB / 0.8132 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004796/0.7568, allocations: 277.2 kB / 0.8134 GB, free: 9.887 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.001811/0.7586, allocations: 1.485 MB / 0.8149 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.7591, allocations: 195.7 kB / 0.8151 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.7593, allocations: 119.3 kB / 0.8152 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000919/0.7602, allocations: 0.5014 MB / 0.8157 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.7602, allocations: 40.92 kB / 0.8157 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 2.184e-06/0.7602, allocations: 0 / 0.8157 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0008847/0.7611, allocations: 349.1 kB / 0.816 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.7612, allocations: 57.62 kB / 0.8161 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/0.7615, allocations: 319.5 kB / 0.8164 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.7616, allocations: 29.7 kB / 0.8164 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.7617, allocations: 184.3 kB / 0.8166 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.77e-05/0.7618, allocations: 54.98 kB / 0.8167 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.198e-05/0.7619, allocations: 47.02 kB / 0.8167 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.762, allocations: 337.9 kB / 0.817 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.7622, allocations: 87.05 kB / 0.8171 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.7624, allocations: 142.4 kB / 0.8172 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004187/0.7629, allocations: 246.5 kB / 0.8175 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.7629, allocations: 3.938 kB / 0.8175 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005565/0.7634, allocations: 282.7 kB / 0.8178 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.7635, allocations: 5.25 kB / 0.8178 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.7635, allocations: 2.406 kB / 0.8178 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.7635, allocations: 2.531 kB / 0.8178 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.7637, allocations: 44.55 kB / 0.8178 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.7637, allocations: 6.641 kB / 0.8178 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.764, allocations: 29.22 kB / 0.8178 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.82e-05/0.764, allocations: 12.23 kB / 0.8179 GB, free: 6.605 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.0001703/0.7642, allocations: 162 kB / 0.818 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.926e-05/0.7643, allocations: 24.38 kB / 0.818 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006934/0.765, allocations: 317.5 kB / 0.8183 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.765, allocations: 3.938 kB / 0.8183 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.765, allocations: 2.344 kB / 0.8183 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.765, allocations: 0 / 0.8183 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.7663, allocations: 0.8029 MB / 0.8191 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.7663, allocations: 7 kB / 0.8191 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.7665, allocations: 43.59 kB / 0.8192 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.7665, allocations: 1.781 kB / 0.8192 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.7665, allocations: 6.609 kB / 0.8192 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.7665, allocations: 3 kB / 0.8192 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.7665, allocations: 7.078 kB / 0.8192 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000581/0.7671, allocations: 399 kB / 0.8196 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.7673, allocations: 136.4 kB / 0.8197 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/0.7673, allocations: 10.47 kB / 0.8197 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.7676, allocations: 15.64 kB / 0.8197 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.248e-05/0.7676, allocations: 15.8 kB / 0.8197 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.7677, allocations: 11.64 kB / 0.8198 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002013/0.7679, allocations: 222.5 kB / 0.82 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7679, allocations: 0 / 0.82 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005155/0.7684, allocations: 124.6 kB / 0.8201 GB, free: 4.949 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.0005636/0.769, allocations: 234 kB / 0.8203 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004728/0.7695, allocations: 213.7 kB / 0.8205 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7695, allocations: 0 / 0.8205 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.7697, allocations: 118.5 kB / 0.8206 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008648/0.7706, allocations: 173 kB / 0.8208 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.7717, allocations: 0.6197 MB / 0.8214 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.7721, allocations: 0.7914 MB / 0.8222 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.7723, allocations: 37.7 kB / 0.8222 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.7723, allocations: 0 / 0.8222 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of Templates: time 0.01041/0.7827, allocations: 6.282 MB / 0.8283 GB, free: 104 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)