Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 108 kB / 15.61 MB, free: 152 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.001321/0.001321, allocations: 196.1 kB / 16.53 MB, free: 6.699 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.7451 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 65.88 kB / 0.912 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3297, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00591/0.3357, allocations: 3.733 MB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002109/0.3359, allocations: 151.5 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.454e-05/0.336, allocations: 0 / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.3361, allocations: 4 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.731e-05/0.3362, allocations: 19.91 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.3365, allocations: 75.69 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.435e-05/0.3366, allocations: 31.92 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.3367, allocations: 0 / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.826e-05/0.3367, allocations: 27.84 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.686e-05/0.3368, allocations: 11.98 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.3368, allocations: 4 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005172/0.3374, allocations: 187.4 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/0.3374, allocations: 7.984 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.814e-05/0.3374, allocations: 11.94 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.3376, allocations: 48.17 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3376, allocations: 0 / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3376, allocations: 0 / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.3376, allocations: 0 / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000385/0.338, allocations: 335.4 kB / 1.073 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.338, allocations: 16.03 kB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.3381, allocations: 0.9375 kB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.3382, allocations: 160.4 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.568e-05/0.3383, allocations: 34.25 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.3383, allocations: 384 / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.3385, allocations: 45.56 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.3385, allocations: 0 / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.3385, allocations: 11.98 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.3385, allocations: 0 / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.787e-05/0.3386, allocations: 15.98 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.3391, allocations: 338 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.843e-05/0.3391, allocations: 18.52 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.768e-05/0.3391, allocations: 16.86 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.025e-05/0.3392, allocations: 85.11 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.3393, allocations: 34.56 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.3393, allocations: 0 / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001521/0.3394, allocations: 37.69 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.3395, allocations: 51.41 kB / 1.074 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.871e-05/0.3396, allocations: 109.8 kB / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.3396, allocations: 25.7 kB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.091e-05/0.3397, allocations: 80.14 kB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.742e-06/0.3397, allocations: 7.844 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.3397, allocations: 21.84 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3399, allocations: 318.8 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.168e-05/0.3399, allocations: 7.984 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.681e-05/0.3399, allocations: 17.72 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.286e-05/0.34, allocations: 17.72 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.34, allocations: 0 / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.278e-05/0.3401, allocations: 53.62 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3401, allocations: 4 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3401, allocations: 0 / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3401, allocations: 4 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.693e-05/0.3402, allocations: 7.984 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3402, allocations: 0 / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.937e-05/0.3402, allocations: 0 / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.3402, allocations: 7.938 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 7.724e-05/0.3403, allocations: 117.8 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.3404, allocations: 7.906 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.3405, allocations: 116.9 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.04e-05/0.3406, allocations: 184.5 kB / 1.075 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.929e-05/0.3406, allocations: 180.2 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.417e-05/0.3407, allocations: 176.3 kB / 1.075 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.341, allocations: 421.1 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.52e-05/0.341, allocations: 101 kB / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.265e-05/0.341, allocations: 105 kB / 1.076 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.503e-05/0.3411, allocations: 184.2 kB / 1.076 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.731e-05/0.3412, allocations: 176.3 kB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-05/0.3413, allocations: 184.2 kB / 1.076 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.926e-05/0.3414, allocations: 176.3 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.3415, allocations: 315.7 kB / 1.076 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.3416, allocations: 178.1 kB / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.393e-05/0.3417, allocations: 180.2 kB / 1.077 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.3419, allocations: 121 kB / 1.077 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.782e-05/0.342, allocations: 176.3 kB / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.783e-05/0.342, allocations: 108.9 kB / 1.077 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.277e-05/0.3421, allocations: 91.27 kB / 1.077 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3421, allocations: 0 / 1.077 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002423/0.3424, allocations: 19.94 kB / 1.077 GB, free: 0.5195 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0003016/0.3427, allocations: 203 kB / 1.078 GB, free: 320 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.638e-05/0.3427, allocations: 8 kB / 1.078 GB, free: 312 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3428, allocations: 0 / 1.078 GB, free: 312 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.3428, allocations: 3.938 kB / 1.078 GB, free: 308 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.3432, allocations: 463.9 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002564/0.3435, allocations: 174 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.3437, allocations: 0.6768 MB / 1.079 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.838e-05/0.3438, allocations: 4 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/0.3438, allocations: 11.44 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of SimCode: time 2.374e-06/0.3438, allocations: 0 / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of Templates: time 0.003404/0.3472, allocations: 0.6513 MB / 1.079 GB, free: 14.29 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)