Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005737/0.005737, allocations: 100.3 kB / 15.87 MB, free: 6.312 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.001195/0.001195, allocations: 199.1 kB / 16.79 MB, free: 6.242 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.359/1.359, allocations: 222.9 MB / 240.5 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7806/0.7806, allocations: 122.8 MB / 413.5 MB, free: 60 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 68.11 kB / 0.4904 GB, free: 7.922 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4036, allocations: 77.92 MB / 0.5665 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006956/0.4106, allocations: 3.772 MB / 0.5702 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002278/0.4109, allocations: 155.5 kB / 0.5703 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.122e-05/0.4109, allocations: 1.094 kB / 0.5703 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.4111, allocations: 8.984 kB / 0.5703 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.05e-05/0.4112, allocations: 11.09 kB / 0.5703 GB, free: 29.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.4115, allocations: 81.17 kB / 0.5704 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.4117, allocations: 57.38 kB / 0.5705 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.026e-05/0.4117, allocations: 1.781 kB / 0.5705 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.997e-05/0.4118, allocations: 16.69 kB / 0.5705 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.087e-05/0.4119, allocations: 12.34 kB / 0.5705 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.4119, allocations: 1.844 kB / 0.5705 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006871/0.4126, allocations: 202 kB / 0.5707 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.04e-05/0.4126, allocations: 4.453 kB / 0.5707 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.4127, allocations: 6.656 kB / 0.5707 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.4129, allocations: 46.97 kB / 0.5707 GB, free: 29.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4129, allocations: 2.844 kB / 0.5708 GB, free: 29.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.4129, allocations: 0 / 0.5708 GB, free: 29.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.4129, allocations: 0 / 0.5708 GB, free: 29.2 MB / 446.1 MB 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.0004124/0.4133, allocations: 334 kB / 0.5711 GB, free: 28.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.4134, allocations: 9.969 kB / 0.5711 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.4134, allocations: 3.25 kB / 0.5711 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.4135, allocations: 168.1 kB / 0.5712 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.094e-05/0.4136, allocations: 28.28 kB / 0.5713 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.4136, allocations: 2.938 kB / 0.5713 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.4138, allocations: 51.53 kB / 0.5713 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.4138, allocations: 4 kB / 0.5713 GB, free: 28.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.4138, allocations: 1.031 kB / 0.5713 GB, free: 28.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.4138, allocations: 1.781 kB / 0.5713 GB, free: 28.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.729e-05/0.4139, allocations: 17 kB / 0.5713 GB, free: 28.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004642/0.4144, allocations: 342.7 kB / 0.5717 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.66e-05/0.4144, allocations: 24.3 kB / 0.5717 GB, free: 28.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.4144, allocations: 7.953 kB / 0.5717 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.836e-05/0.4145, allocations: 83.55 kB / 0.5718 GB, free: 28.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.4145, allocations: 33.91 kB / 0.5718 GB, free: 28.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.4146, allocations: 5.5 kB / 0.5718 GB, free: 28.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000152/0.4147, allocations: 37.05 kB / 0.5719 GB, free: 27.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.4148, allocations: 57.14 kB / 0.5719 GB, free: 27.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.038e-05/0.4148, allocations: 102.7 kB / 0.572 GB, free: 27.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.4148, allocations: 27.8 kB / 0.572 GB, free: 27.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.788e-05/0.4149, allocations: 95.25 kB / 0.5721 GB, free: 27.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.851e-06/0.4149, allocations: 3.938 kB / 0.5721 GB, free: 27.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.4149, allocations: 15.94 kB / 0.5721 GB, free: 27.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.749e-05/0.415, allocations: 321.4 kB / 0.5724 GB, free: 27.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.415, allocations: 3.484 kB / 0.5725 GB, free: 27.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.182e-05/0.4151, allocations: 17.53 kB / 0.5725 GB, free: 27.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.306e-05/0.4151, allocations: 24.72 kB / 0.5725 GB, free: 27.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4151, allocations: 2.688 kB / 0.5725 GB, free: 27.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.231e-05/0.4152, allocations: 50.55 kB / 0.5725 GB, free: 27.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.4152, allocations: 6.562 kB / 0.5725 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.4152, allocations: 0 / 0.5725 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.4152, allocations: 1.031 kB / 0.5726 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.261e-05/0.4153, allocations: 5.188 kB / 0.5726 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.4153, allocations: 7.938 kB / 0.5726 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.985e-05/0.4153, allocations: 1.594 kB / 0.5726 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.4153, allocations: 1.953 kB / 0.5726 GB, free: 27.26 MB / 446.1 MB 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 6.393e-05/0.4154, allocations: 112.7 kB / 0.5727 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.4155, allocations: 2.312 kB / 0.5727 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.752e-05/0.4156, allocations: 121.6 kB / 0.5728 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.239e-05/0.4156, allocations: 182.9 kB / 0.573 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.544e-05/0.4156, allocations: 178.7 kB / 0.5731 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.199e-05/0.4157, allocations: 177.8 kB / 0.5733 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.4158, allocations: 414 kB / 0.5737 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-05/0.4159, allocations: 102 kB / 0.5738 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.041e-05/0.4159, allocations: 107 kB / 0.5739 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.931e-05/0.4159, allocations: 179.7 kB / 0.5741 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.416, allocations: 178.5 kB / 0.5742 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-05/0.416, allocations: 186.3 kB / 0.5744 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.052e-05/0.416, allocations: 179.3 kB / 0.5746 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.117e-05/0.4161, allocations: 310.5 kB / 0.5749 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.4162, allocations: 185.8 kB / 0.5751 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.575e-05/0.4162, allocations: 182.9 kB / 0.5752 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.4164, allocations: 111 kB / 0.5753 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.4164, allocations: 182.9 kB / 0.5755 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.4165, allocations: 107.2 kB / 0.5756 GB, free: 23.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.644e-05/0.4165, allocations: 89.61 kB / 0.5757 GB, free: 23.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4165, allocations: 0 / 0.5757 GB, free: 23.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002805/0.4168, allocations: 20.84 kB / 0.5757 GB, free: 23.89 MB / 446.1 MB 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.0002684/0.4171, allocations: 194.6 kB / 0.5759 GB, free: 23.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.601e-05/0.4172, allocations: 16.92 kB / 0.5759 GB, free: 23.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4172, allocations: 0 / 0.5759 GB, free: 23.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.4172, allocations: 1.562 kB / 0.5759 GB, free: 23.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.4175, allocations: 0.5249 MB / 0.5764 GB, free: 23.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002462/0.4178, allocations: 186.7 kB / 0.5766 GB, free: 23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.4179, allocations: 0.6792 MB / 0.5773 GB, free: 22.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.633e-05/0.4179, allocations: 12.25 kB / 0.5773 GB, free: 22.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.364e-05/0.418, allocations: 9.125 kB / 0.5773 GB, free: 22.29 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.418, allocations: 0 / 0.5773 GB, free: 22.29 MB / 446.1 MB Notification: Performance of Templates: time 0.003082/0.4211, allocations: 0.6222 MB / 0.5779 GB, free: 22.25 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)