Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002414/0.002418, allocations: 354.6 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.541/1.541, allocations: 165.8 MB / 182.5 MB, free: 5.426 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.88/3.88, allocations: 410.8 MB / 0.5995 GB, free: 15.19 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001709/0.001708, allocations: 200.2 kB / 0.6662 GB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004689/0.000469, allocations: 16 kB / 0.7423 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3319, allocations: 67.44 MB / 0.8081 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003704/0.3357, allocations: 3.55 MB / 0.8116 GB, free: 25.19 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001767/0.3359, allocations: 139.7 kB / 0.8117 GB, free: 25.05 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.495e-05/0.3359, allocations: 3.938 kB / 0.8117 GB, free: 25.05 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 7.532e-05/0.336, allocations: 3.938 kB / 0.8117 GB, free: 25.05 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.723e-05/0.3361, allocations: 15.91 kB / 0.8118 GB, free: 25.03 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.3364, allocations: 43.86 kB / 0.8118 GB, free: 24.99 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 8.288e-05/0.3365, allocations: 43.83 kB / 0.8118 GB, free: 24.95 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.3365, allocations: 0 / 0.8118 GB, free: 24.95 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.545e-05/0.3366, allocations: 19.92 kB / 0.8119 GB, free: 24.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.346e-05/0.3366, allocations: 15.98 kB / 0.8119 GB, free: 24.91 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.3367, allocations: 0 / 0.8119 GB, free: 24.91 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.3368, allocations: 35.84 kB / 0.8119 GB, free: 24.88 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.927e-05/0.3369, allocations: 3.984 kB / 0.8119 GB, free: 24.87 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.3369, allocations: 29.7 kB / 0.8119 GB, free: 24.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.471e-05/0.337, allocations: 34.03 kB / 0.812 GB, free: 24.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.966e-06/0.337, allocations: 0 / 0.812 GB, free: 24.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.736e-06/0.3371, allocations: 0 / 0.812 GB, free: 24.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3371, allocations: 0 / 0.812 GB, free: 24.8 MB / 378.7 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.0004226/0.3375, allocations: 331.4 kB / 0.8123 GB, free: 24.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.3376, allocations: 8.031 kB / 0.8123 GB, free: 24.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.3376, allocations: 3.906 kB / 0.8123 GB, free: 24.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.3377, allocations: 167.1 kB / 0.8125 GB, free: 24.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.052e-05/0.3378, allocations: 33.59 kB / 0.8125 GB, free: 24.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.3378, allocations: 3.984 kB / 0.8125 GB, free: 24.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.338, allocations: 49.61 kB / 0.8125 GB, free: 24.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.611e-06/0.338, allocations: 0 / 0.8125 GB, free: 24.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.338, allocations: 3.984 kB / 0.8125 GB, free: 24.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.338, allocations: 4 kB / 0.8126 GB, free: 24.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.711e-05/0.3381, allocations: 15.98 kB / 0.8126 GB, free: 24.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.3385, allocations: 334 kB / 0.8129 GB, free: 23.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.719e-05/0.3385, allocations: 18.58 kB / 0.8129 GB, free: 23.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.55e-05/0.3385, allocations: 4.859 kB / 0.8129 GB, free: 23.67 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.829e-05/0.3386, allocations: 85.11 kB / 0.813 GB, free: 23.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.513e-05/0.3387, allocations: 38.56 kB / 0.813 GB, free: 23.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.856e-06/0.3387, allocations: 0 / 0.813 GB, free: 23.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000141/0.3388, allocations: 37.69 kB / 0.8131 GB, free: 23.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.3389, allocations: 51.41 kB / 0.8131 GB, free: 23.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.124e-05/0.3389, allocations: 105.8 kB / 0.8132 GB, free: 23.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.339, allocations: 25.7 kB / 0.8132 GB, free: 23.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.836e-05/0.339, allocations: 84.05 kB / 0.8133 GB, free: 23.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.466e-06/0.339, allocations: 8.031 kB / 0.8133 GB, free: 23.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-06/0.339, allocations: 0 / 0.8133 GB, free: 23.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.814e-05/0.3391, allocations: 322.8 kB / 0.8136 GB, free: 22.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.757e-05/0.3391, allocations: 0 / 0.8136 GB, free: 22.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.534e-05/0.3392, allocations: 21.64 kB / 0.8137 GB, free: 22.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.565e-05/0.3392, allocations: 4 kB / 0.8137 GB, free: 22.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3392, allocations: 3.938 kB / 0.8137 GB, free: 22.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.287e-05/0.3393, allocations: 53.69 kB / 0.8137 GB, free: 22.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3393, allocations: 4 kB / 0.8137 GB, free: 22.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.782e-06/0.3393, allocations: 3.938 kB / 0.8137 GB, free: 22.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3394, allocations: 0 / 0.8137 GB, free: 22.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.613e-05/0.3394, allocations: 4 kB / 0.8137 GB, free: 22.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.369e-06/0.3394, allocations: 4 kB / 0.8137 GB, free: 22.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.491e-05/0.3395, allocations: 3.938 kB / 0.8137 GB, free: 22.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.3395, allocations: 0 / 0.8137 GB, free: 22.74 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.82e-05/0.3396, allocations: 125.3 kB / 0.8139 GB, free: 22.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.3396, allocations: 4 kB / 0.8139 GB, free: 22.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.093e-05/0.3397, allocations: 113 kB / 0.814 GB, free: 22.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-05/0.3398, allocations: 184.2 kB / 0.8141 GB, free: 22.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.211e-05/0.3398, allocations: 192.2 kB / 0.8143 GB, free: 22.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.702e-05/0.3398, allocations: 180.2 kB / 0.8145 GB, free: 21.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.34, allocations: 413.2 kB / 0.8149 GB, free: 21.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.73e-05/0.34, allocations: 101 kB / 0.815 GB, free: 21.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.788e-05/0.3401, allocations: 104.9 kB / 0.8151 GB, free: 21.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.753e-05/0.3401, allocations: 176.3 kB / 0.8153 GB, free: 21.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/0.3401, allocations: 188.2 kB / 0.8154 GB, free: 20.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.767e-05/0.3402, allocations: 184.2 kB / 0.8156 GB, free: 20.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.79e-05/0.3402, allocations: 180.2 kB / 0.8158 GB, free: 20.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.521e-05/0.3403, allocations: 303.7 kB / 0.8161 GB, free: 20.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.3404, allocations: 194 kB / 0.8163 GB, free: 19.97 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/0.3404, allocations: 180.3 kB / 0.8164 GB, free: 19.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.3406, allocations: 121.2 kB / 0.8165 GB, free: 19.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.3406, allocations: 176.3 kB / 0.8167 GB, free: 19.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.3407, allocations: 101 kB / 0.8168 GB, free: 19.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.932e-05/0.3407, allocations: 87.28 kB / 0.8169 GB, free: 19.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.93e-07/0.3407, allocations: 0 / 0.8169 GB, free: 19.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003181/0.341, allocations: 12 kB / 0.8169 GB, free: 19.28 MB / 378.7 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 (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.0001502/0.3412, allocations: 194.5 kB / 0.8171 GB, free: 19.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.057e-05/0.3413, allocations: 7.984 kB / 0.8171 GB, free: 19.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.189e-06/0.3413, allocations: 0 / 0.8171 GB, free: 19.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.666e-06/0.3413, allocations: 7.938 kB / 0.8171 GB, free: 19.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.3417, allocations: 0.5212 MB / 0.8176 GB, free: 18.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002062/0.3419, allocations: 192 kB / 0.8178 GB, free: 18.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.3421, allocations: 0.6809 MB / 0.8185 GB, free: 17.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.89e-05/0.3421, allocations: 7.953 kB / 0.8185 GB, free: 17.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.9e-05/0.3422, allocations: 7.438 kB / 0.8185 GB, free: 17.6 MB / 378.7 MB Notification: Performance of SimCode: time 1.407e-06/0.3422, allocations: 4 kB / 0.8185 GB, free: 17.6 MB / 378.7 MB Notification: Performance of Templates: time 0.002771/0.345, allocations: 0.5135 MB / 0.819 GB, free: 17.09 MB / 378.7 MB