Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.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.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h") translateModel(IBPSA.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 92.86 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 172.3 kB / 16.58 MB, free: 5.941 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.352/1.352, allocations: 223.3 MB / 240.6 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.699/0.699, allocations: 115.5 MB / 407.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002882/0.0002883, allocations: 8 kB / 495.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1355, allocations: 77.54 MB / 0.5593 GB, free: 9.418 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.PropertySource_h): time 0.4027/0.5382, allocations: 159.9 MB / 0.7155 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008832/0.5471, allocations: 8.08 MB / 0.7234 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004401/0.5476, allocations: 19.88 kB / 0.7234 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005622/0.5481, allocations: 222.3 kB / 0.7236 GB, free: 15.08 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005801/0.5487, allocations: 274.7 kB / 0.7239 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007961/0.5495, allocations: 308.6 kB / 0.7242 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00129/0.5508, allocations: 1.359 MB / 0.7255 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005866/0.5514, allocations: 444.2 kB / 0.7259 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003253/0.5547, allocations: 1.478 MB / 0.7274 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000408/0.5551, allocations: 334.5 kB / 0.7277 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.051e-05/0.5552, allocations: 24 kB / 0.7277 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.5554, allocations: 51.97 kB / 0.7277 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.5556, allocations: 235.4 kB / 0.728 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.5557, allocations: 121.4 kB / 0.7281 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004257/0.5561, allocations: 462.9 kB / 0.7285 GB, free: 10.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5562, allocations: 0 / 0.7285 GB, free: 10.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5562, allocations: 0 / 0.7285 GB, free: 10.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.5562, allocations: 0 / 0.7285 GB, free: 10.02 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.0008524/0.557, allocations: 0.7179 MB / 0.7292 GB, free: 9.254 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.5571, allocations: 12.03 kB / 0.7292 GB, free: 9.242 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.5572, allocations: 67.16 kB / 0.7293 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/0.5577, allocations: 406.4 kB / 0.7297 GB, free: 8.734 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.297e-05/0.5577, allocations: 41.27 kB / 0.7297 GB, free: 8.695 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.378e-05/0.5578, allocations: 55.94 kB / 0.7298 GB, free: 8.641 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.5588, allocations: 0.7028 MB / 0.7305 GB, free: 7.855 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.5589, allocations: 7.938 kB / 0.7305 GB, free: 7.848 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.423e-05/0.5589, allocations: 24 kB / 0.7305 GB, free: 7.824 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.571e-05/0.559, allocations: 27.98 kB / 0.7305 GB, free: 7.797 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006348/0.5596, allocations: 385.4 kB / 0.7309 GB, free: 7.422 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002413/0.562, allocations: 3.227 MB / 0.734 GB, free: 4.051 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.5623, allocations: 222.2 kB / 0.7343 GB, free: 3.742 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.5625, allocations: 132.5 kB / 0.7344 GB, free: 3.582 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.5625, allocations: 15.94 kB / 0.7344 GB, free: 3.566 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.5626, allocations: 43.38 kB / 0.7344 GB, free: 3.516 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.5626, allocations: 4 kB / 0.7344 GB, free: 3.512 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0006685/0.5633, allocations: 257.9 kB / 0.7347 GB, free: 3.254 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.5634, allocations: 290.7 kB / 0.735 GB, free: 2.902 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00073/0.5641, allocations: 0.6838 MB / 0.7356 GB, free: 2.211 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.5641, allocations: 25.7 kB / 0.7357 GB, free: 2.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.5644, allocations: 268.1 kB / 0.7359 GB, free: 1.914 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.5644, allocations: 43.62 kB / 0.736 GB, free: 1.871 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-06/0.5644, allocations: 0 / 0.736 GB, free: 1.871 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5646, allocations: 366.8 kB / 0.7363 GB, free: 1.504 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.5647, allocations: 43.95 kB / 0.7363 GB, free: 1.461 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.5648, allocations: 109 kB / 0.7365 GB, free: 1.336 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.565, allocations: 51.95 kB / 0.7365 GB, free: 1.285 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.565, allocations: 0 / 0.7365 GB, free: 1.285 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003352/0.5653, allocations: 196.8 kB / 0.7367 GB, free: 1.086 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.5654, allocations: 8.141 kB / 0.7367 GB, free: 1.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.5654, allocations: 8 kB / 0.7367 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.5654, allocations: 0 / 0.7367 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.5656, allocations: 51.89 kB / 0.7368 GB, free: 1.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.5656, allocations: 4 kB / 0.7368 GB, free: 1.016 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.5659, allocations: 71.25 kB / 0.7368 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.5659, allocations: 14.86 kB / 0.7368 GB, free: 0.9336 MB / 0.545 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001992/0.5661, allocations: 195.5 kB / 0.737 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002355/0.5663, allocations: 59.34 kB / 0.7371 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.562e-05/0.5664, allocations: 72.2 kB / 0.7372 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.5664, allocations: 4 kB / 0.7372 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5664, allocations: 4 kB / 0.7372 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.5665, allocations: 4 kB / 0.7372 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.5678, allocations: 1.3 MB / 0.7384 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.5678, allocations: 4 kB / 0.7384 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/0.568, allocations: 47.95 kB / 0.7385 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.568, allocations: 8.281 kB / 0.7385 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.568, allocations: 4 kB / 0.7385 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.568, allocations: 7.938 kB / 0.7385 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5681, allocations: 0 / 0.7385 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000374/0.5684, allocations: 362.4 kB / 0.7388 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.5686, allocations: 144.4 kB / 0.739 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/0.5686, allocations: 8 kB / 0.739 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.5688, allocations: 15.98 kB / 0.739 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.5689, allocations: 19.88 kB / 0.739 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.5689, allocations: 8 kB / 0.739 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005231/0.5694, allocations: 499 kB / 0.7395 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5694, allocations: 0 / 0.7395 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00038/0.5698, allocations: 83.84 kB / 0.7396 GB, free: 13.95 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002716/0.5701, allocations: 138.9 kB / 0.7397 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003155/0.5704, allocations: 107.9 kB / 0.7398 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5704, allocations: 0 / 0.7398 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.5706, allocations: 76.64 kB / 0.7399 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.5718, allocations: 280.7 kB / 0.7402 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.573, allocations: 0.9713 MB / 0.7411 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.5735, allocations: 0.9091 MB / 0.742 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002394/0.5737, allocations: 104.6 kB / 0.7421 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/0.5738, allocations: 35.44 kB / 0.7421 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.5738, allocations: 0 / 0.7421 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of Templates: time 0.01296/0.5868, allocations: 7.771 MB / 0.7497 GB, free: 3.652 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.sim & ./IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)