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.001383/0.001383, allocations: 104.2 kB / 16.4 MB, free: 6.484 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.001385/0.001385, allocations: 195.8 kB / 17.34 MB, free: 5.762 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.566/1.566, 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.8007/0.8007, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.23 kB / 0.5577 GB, free: 32.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1634, allocations: 76.18 MB / 0.6321 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.PropertySource_h): time 0.5717/0.7352, allocations: 176 MB / 0.8039 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009063/0.7443, allocations: 8.716 MB / 0.8124 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008855/0.7452, allocations: 20.41 kB / 0.8124 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008482/0.7461, allocations: 293.3 kB / 0.8127 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0007856/0.7469, allocations: 308.4 kB / 0.813 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009763/0.7479, allocations: 375.1 kB / 0.8134 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001096/0.749, allocations: 1.152 MB / 0.8145 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007241/0.7498, allocations: 0.5859 MB / 0.8151 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005272/0.7551, allocations: 2.069 MB / 0.8171 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000461/0.7555, allocations: 350.6 kB / 0.8174 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.21e-05/0.7556, allocations: 40.09 kB / 0.8175 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.7558, allocations: 73.91 kB / 0.8175 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000229/0.7561, allocations: 260.2 kB / 0.8178 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002446/0.7563, allocations: 288 kB / 0.8181 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006786/0.757, allocations: 0.6298 MB / 0.8187 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.757, allocations: 7.984 kB / 0.8187 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.583e-06/0.757, allocations: 6.344 kB / 0.8187 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.757, allocations: 0 / 0.8187 GB, free: 8.887 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001088/0.7581, allocations: 0.8089 MB / 0.8195 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.7582, allocations: 11.77 kB / 0.8195 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.7583, allocations: 71.41 kB / 0.8196 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007126/0.759, allocations: 438.1 kB / 0.82 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/0.7591, allocations: 50.77 kB / 0.82 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.022e-05/0.7592, allocations: 51.28 kB / 0.8201 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009689/0.7601, allocations: 0.7084 MB / 0.8208 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.7602, allocations: 6.594 kB / 0.8208 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.252e-05/0.7602, allocations: 23.75 kB / 0.8208 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-05/0.7603, allocations: 32.8 kB / 0.8208 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005993/0.7609, allocations: 375.4 kB / 0.8212 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002645/0.7635, allocations: 3.21 MB / 0.8243 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.7638, allocations: 219.6 kB / 0.8245 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.764, allocations: 127.2 kB / 0.8247 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.764, allocations: 10.08 kB / 0.8247 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.7641, allocations: 44.19 kB / 0.8247 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 2.445e-06/0.7641, allocations: 0 / 0.8247 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0007138/0.7648, allocations: 247.3 kB / 0.8249 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001569/0.765, allocations: 292.9 kB / 0.8252 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007624/0.7657, allocations: 0.6886 MB / 0.8259 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.7658, allocations: 28.45 kB / 0.8259 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002251/0.766, allocations: 272.6 kB / 0.8262 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/0.7661, allocations: 36.33 kB / 0.8262 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.629e-05/0.7661, allocations: 23.78 kB / 0.8262 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.7663, allocations: 372.2 kB / 0.8266 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.7665, allocations: 37.94 kB / 0.8266 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.7666, allocations: 98.69 kB / 0.8267 GB, free: 2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.7669, allocations: 123.4 kB / 0.8268 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7669, allocations: 2.719 kB / 0.8268 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003522/0.7673, allocations: 187.7 kB / 0.827 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.7673, allocations: 8.719 kB / 0.827 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.7673, allocations: 2.656 kB / 0.827 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.7673, allocations: 6.625 kB / 0.827 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.7676, allocations: 45.06 kB / 0.8271 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.7676, allocations: 2.125 kB / 0.8271 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.7678, allocations: 61.05 kB / 0.8271 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.7678, allocations: 7.469 kB / 0.8271 GB, free: 1.73 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002011/0.768, allocations: 202.6 kB / 0.8273 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/0.7682, allocations: 64.95 kB / 0.8274 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.146e-05/0.7683, allocations: 61.36 kB / 0.8275 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.7683, allocations: 2.844 kB / 0.8275 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.7683, allocations: 2.5 kB / 0.8275 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.7684, allocations: 2.406 kB / 0.8275 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.7697, allocations: 1.301 MB / 0.8287 GB, free: 292 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.7697, allocations: 6.547 kB / 0.8287 GB, free: 288 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.7699, allocations: 42.33 kB / 0.8288 GB, free: 276 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.7699, allocations: 10.56 kB / 0.8288 GB, free: 268 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.7699, allocations: 2.562 kB / 0.8288 GB, free: 268 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.7699, allocations: 6.484 kB / 0.8288 GB, free: 264 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.7699, allocations: 5 kB / 0.8288 GB, free: 264 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004675/0.7704, allocations: 336.8 kB / 0.8291 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/0.7706, allocations: 154.2 kB / 0.8293 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.574e-05/0.7707, allocations: 4.875 kB / 0.8293 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.7709, allocations: 8.859 kB / 0.8293 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.7709, allocations: 25.05 kB / 0.8293 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.7709, allocations: 5.812 kB / 0.8293 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005555/0.7715, allocations: 0.4932 MB / 0.8298 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7715, allocations: 0 / 0.8298 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003969/0.7719, allocations: 90.78 kB / 0.8299 GB, free: 15.5 MB / 0.6075 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 (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.000322/0.7722, allocations: 128 kB / 0.83 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003346/0.7726, allocations: 108 kB / 0.8301 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.7726, allocations: 0 / 0.8301 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.7727, allocations: 60.92 kB / 0.8302 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.7741, allocations: 289 kB / 0.8304 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.7753, allocations: 0.8745 MB / 0.8313 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.7758, allocations: 0.9067 MB / 0.8322 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000222/0.7761, allocations: 103.4 kB / 0.8323 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.657e-05/0.7761, allocations: 39.19 kB / 0.8323 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.7761, allocations: 0 / 0.8323 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of Templates: time 0.01474/0.7909, allocations: 8.602 MB / 0.8407 GB, free: 9.516 MB / 0.6075 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)