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.00256/0.002566, allocations: 357.5 kB / 16.59 MB, free: 5.566 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.433/1.433, allocations: 165.8 MB / 183.1 MB, free: 5.422 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 4.241/4.241, allocations: 410.7 MB / 0.6001 GB, free: 15.18 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.001756/0.001756, allocations: 197.5 kB / 0.6668 GB, free: 6.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004639/0.0004641, allocations: 16 kB / 0.7429 GB, free: 8.988 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4019, allocations: 67.45 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004621/0.4066, allocations: 3.554 MB / 0.8122 GB, free: 25.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002/0.4068, allocations: 131.7 kB / 0.8123 GB, free: 25.08 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.4068, allocations: 0 / 0.8123 GB, free: 25.08 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.407, allocations: 3.938 kB / 0.8123 GB, free: 25.08 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.755e-05/0.4071, allocations: 19.91 kB / 0.8124 GB, free: 25.06 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.4074, allocations: 41.38 kB / 0.8124 GB, free: 25.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 8.447e-05/0.4075, allocations: 51.81 kB / 0.8124 GB, free: 24.97 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.4075, allocations: 0 / 0.8124 GB, free: 24.97 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.076e-05/0.4076, allocations: 15.92 kB / 0.8125 GB, free: 24.95 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.028e-05/0.4076, allocations: 11.98 kB / 0.8125 GB, free: 24.94 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.4077, allocations: 0 / 0.8125 GB, free: 24.94 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.4078, allocations: 27.92 kB / 0.8125 GB, free: 24.91 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.32e-05/0.4079, allocations: 7.922 kB / 0.8125 GB, free: 24.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.096e-05/0.4079, allocations: 41.64 kB / 0.8125 GB, free: 24.86 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.4081, allocations: 30.08 kB / 0.8126 GB, free: 24.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4081, allocations: 0 / 0.8126 GB, free: 24.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4081, allocations: 0 / 0.8126 GB, free: 24.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.4081, allocations: 0 / 0.8126 GB, free: 24.83 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.0004471/0.4086, allocations: 331.3 kB / 0.8129 GB, free: 24.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.4086, allocations: 8.031 kB / 0.8129 GB, free: 24.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.4087, allocations: 3.906 kB / 0.8129 GB, free: 24.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.4088, allocations: 167 kB / 0.8131 GB, free: 24.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.586e-05/0.4089, allocations: 37.66 kB / 0.8131 GB, free: 24.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.4089, allocations: 0 / 0.8131 GB, free: 24.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.4091, allocations: 37.69 kB / 0.8131 GB, free: 24.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.4091, allocations: 7.938 kB / 0.8131 GB, free: 24.15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.4092, allocations: 4 kB / 0.8131 GB, free: 24.15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.4092, allocations: 3.938 kB / 0.8131 GB, free: 24.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.282e-05/0.4092, allocations: 11.98 kB / 0.8132 GB, free: 24.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.4097, allocations: 338 kB / 0.8135 GB, free: 23.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.204e-05/0.4097, allocations: 14.58 kB / 0.8135 GB, free: 23.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.597e-05/0.4097, allocations: 8.922 kB / 0.8135 GB, free: 23.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.4098, allocations: 85.09 kB / 0.8136 GB, free: 23.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.4099, allocations: 38.5 kB / 0.8136 GB, free: 23.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.643e-06/0.4099, allocations: 0 / 0.8136 GB, free: 23.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001447/0.41, allocations: 37.7 kB / 0.8137 GB, free: 23.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.751e-05/0.4101, allocations: 51.41 kB / 0.8137 GB, free: 23.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.908e-05/0.4102, allocations: 105.8 kB / 0.8138 GB, free: 23.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.4102, allocations: 25.7 kB / 0.8138 GB, free: 23.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.494e-05/0.4102, allocations: 84.05 kB / 0.8139 GB, free: 23.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.183e-06/0.4102, allocations: 3.906 kB / 0.8139 GB, free: 23.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.4102, allocations: 0 / 0.8139 GB, free: 23.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.368e-05/0.4103, allocations: 318.8 kB / 0.8142 GB, free: 22.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.4103, allocations: 12.11 kB / 0.8142 GB, free: 22.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.615e-05/0.4104, allocations: 17.66 kB / 0.8142 GB, free: 22.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.561e-05/0.4104, allocations: 11.94 kB / 0.8143 GB, free: 22.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4104, allocations: 0 / 0.8143 GB, free: 22.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.335e-05/0.4105, allocations: 41.69 kB / 0.8143 GB, free: 22.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4105, allocations: 10.81 kB / 0.8143 GB, free: 22.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.4106, allocations: 0 / 0.8143 GB, free: 22.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.4106, allocations: 64 / 0.8143 GB, free: 22.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.68e-05/0.4106, allocations: 11.94 kB / 0.8143 GB, free: 22.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.4107, allocations: 0 / 0.8143 GB, free: 22.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.996e-05/0.4107, allocations: 15.92 kB / 0.8143 GB, free: 22.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.4107, allocations: 0 / 0.8143 GB, free: 22.76 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.985e-05/0.4108, allocations: 113.8 kB / 0.8144 GB, free: 22.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.4108, allocations: 0 / 0.8144 GB, free: 22.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.752e-05/0.4109, allocations: 117 kB / 0.8146 GB, free: 22.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-05/0.411, allocations: 192.2 kB / 0.8147 GB, free: 22.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.781e-05/0.411, allocations: 101 kB / 0.8148 GB, free: 22.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.4111, allocations: 189.9 kB / 0.815 GB, free: 22.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/0.4111, allocations: 180.2 kB / 0.8152 GB, free: 21.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.4113, allocations: 105 kB / 0.8153 GB, free: 21.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.4113, allocations: 192.2 kB / 0.8155 GB, free: 21.52 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.337e-05/0.4114, allocations: 263.7 kB / 0.8157 GB, free: 21.25 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 9.804e-05/0.4115, allocations: 387 kB / 0.8161 GB, free: 20.85 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.49e-05/0.4115, allocations: 104.9 kB / 0.8162 GB, free: 20.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.893e-05/0.4116, allocations: 87.27 kB / 0.8163 GB, free: 20.66 MB / 378.7 MB Notification: Performance of Backend: time 7.71e-07/0.4116, allocations: 0 / 0.8163 GB, free: 20.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004188/0.412, allocations: 106.4 kB / 0.8164 GB, free: 20.55 MB / 378.7 MB Notification: Performance of SimCode: time 0.000432/0.4125, allocations: 0.9318 MB / 0.8173 GB, free: 19.56 MB / 378.7 MB Notification: Performance of Templates: time 0.002941/0.4154, allocations: 474.1 kB / 0.8177 GB, free: 19.1 MB / 378.7 MB