Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001422/0.001422, allocations: 197 kB / 16.14 MB, free: 6.688 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.387/1.387, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.876/2.876, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 66.86 kB / 0.9113 GB, free: 33.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3664, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1796/0.546, allocations: 165.3 MB / 1.229 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008048/0.5541, allocations: 6.54 MB / 1.235 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005286/0.5546, allocations: 11.94 kB / 1.235 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006295/0.5553, allocations: 131.1 kB / 1.235 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002275/0.5576, allocations: 0.7938 MB / 1.236 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.5586, allocations: 298.9 kB / 1.237 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001185/0.5598, allocations: 1.021 MB / 1.238 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005263/0.5604, allocations: 230.1 kB / 1.238 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001258/0.5616, allocations: 0.5098 MB / 1.238 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005191/0.5622, allocations: 286.8 kB / 1.239 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.564e-05/0.5623, allocations: 16 kB / 1.239 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007813/0.563, allocations: 391 kB / 1.239 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.5632, allocations: 103.7 kB / 1.239 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002321/0.5634, allocations: 159.1 kB / 1.239 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006852/0.5641, allocations: 482.5 kB / 1.24 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5642, allocations: 0 / 1.24 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5642, allocations: 0 / 1.24 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.413e-05/0.5642, allocations: 0 / 1.24 GB, free: 10.05 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009608/0.5651, allocations: 0.6155 MB / 1.24 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.5652, allocations: 8.031 kB / 1.24 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003337/0.5655, allocations: 63.53 kB / 1.24 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.5659, allocations: 313.1 kB / 1.241 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.566, allocations: 20.56 kB / 1.241 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.566, allocations: 28 kB / 1.241 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005624/0.5666, allocations: 315.6 kB / 1.241 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.5666, allocations: 0 / 1.241 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.5667, allocations: 16 kB / 1.241 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.5667, allocations: 8 kB / 1.241 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000428/0.5671, allocations: 205.5 kB / 1.241 GB, free: 8.359 MB / 0.9981 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.00153/0.5687, allocations: 1.53 MB / 1.243 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.5689, allocations: 118.5 kB / 1.243 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.5691, allocations: 96.8 kB / 1.243 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006423/0.5697, allocations: 303.5 kB / 1.243 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.5698, allocations: 30.56 kB / 1.243 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.5698, allocations: 4 kB / 1.243 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0007521/0.5706, allocations: 269.2 kB / 1.243 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.5706, allocations: 59.41 kB / 1.243 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.5709, allocations: 312.5 kB / 1.244 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.5709, allocations: 25.7 kB / 1.244 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.5711, allocations: 180.2 kB / 1.244 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.5711, allocations: 51.3 kB / 1.244 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.425e-05/0.5712, allocations: 37.64 kB / 1.244 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.5713, allocations: 338.8 kB / 1.244 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.5715, allocations: 59.95 kB / 1.244 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.5717, allocations: 118.7 kB / 1.245 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.572, allocations: 177 kB / 1.245 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.572, allocations: 3.938 kB / 1.245 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004471/0.5725, allocations: 213.2 kB / 1.245 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.5725, allocations: 4 kB / 1.245 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.5725, allocations: 7.922 kB / 1.245 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.5725, allocations: 4 kB / 1.245 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.5727, allocations: 32.14 kB / 1.245 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.5727, allocations: 8 kB / 1.245 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.5729, allocations: 39.72 kB / 1.245 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.573, allocations: 4 kB / 1.245 GB, free: 4.074 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001487/0.5731, allocations: 157.6 kB / 1.245 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/0.5732, allocations: 23.72 kB / 1.245 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004561/0.5737, allocations: 220.4 kB / 1.245 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.5737, allocations: 3.938 kB / 1.245 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.5737, allocations: 0 / 1.245 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.5737, allocations: 0 / 1.245 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.5747, allocations: 0.6834 MB / 1.246 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5747, allocations: 0 / 1.246 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.5749, allocations: 31.98 kB / 1.246 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.5749, allocations: 0 / 1.246 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.5749, allocations: 4 kB / 1.246 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.5749, allocations: 16.09 kB / 1.246 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5749, allocations: 0 / 1.246 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004265/0.5754, allocations: 333.1 kB / 1.246 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.5755, allocations: 116.7 kB / 1.247 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.5755, allocations: 11.98 kB / 1.247 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.5757, allocations: 19.92 kB / 1.247 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.5758, allocations: 15.98 kB / 1.247 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.5758, allocations: 4 kB / 1.247 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002106/0.576, allocations: 223.1 kB / 1.247 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.576, allocations: 0 / 1.247 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004055/0.5764, allocations: 79.83 kB / 1.247 GB, free: 2.004 MB / 0.9981 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 (13): * Single equations (assignments): 13 * 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.0003989/0.5768, allocations: 156.2 kB / 1.247 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004029/0.5773, allocations: 159.1 kB / 1.247 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5773, allocations: 4.062 kB / 1.247 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.5775, allocations: 83.88 kB / 1.247 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008496/0.5783, allocations: 149.2 kB / 1.247 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008972/0.5792, allocations: 0.6282 MB / 1.248 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5359/1.115, allocations: 0.7798 MB / 1.249 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000494/1.116, allocations: 53.34 kB / 1.249 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/1.116, allocations: 26.16 kB / 1.249 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.773e-06/1.116, allocations: 0 / 1.249 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.01619/1.132, allocations: 4.866 MB / 1.254 GB, free: 186.4 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)