Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003141/0.003141, allocations: 356.8 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.329/1.329, allocations: 165.8 MB / 182.5 MB, free: 5.875 MB / 90.73 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.477/4.477, allocations: 410.8 MB / 0.5995 GB, free: 2.086 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00177/0.00177, allocations: 185.1 kB / 0.6662 GB, free: 13.96 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004748, allocations: 12 kB / 0.7423 GB, free: 15.96 MB / 0.5574 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3875, allocations: 67.44 MB / 0.8081 GB, free: 245.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003582/0.3911, allocations: 2.542 MB / 0.8106 GB, free: 244 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004812/0.3916, allocations: 383.4 kB / 0.811 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.313e-05/0.3917, allocations: 0 / 0.811 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.213e-05/0.3918, allocations: 4.578 kB / 0.811 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.6e-05/0.3918, allocations: 14.03 kB / 0.811 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/0.3923, allocations: 123.5 kB / 0.8111 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.296e-05/0.3924, allocations: 50.12 kB / 0.8112 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.19e-05/0.3925, allocations: 2.078 kB / 0.8112 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.839e-05/0.3925, allocations: 9.656 kB / 0.8112 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.601e-05/0.3926, allocations: 18.16 kB / 0.8112 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.3926, allocations: 1.812 kB / 0.8112 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003004/0.3929, allocations: 90.72 kB / 0.8113 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.065e-05/0.393, allocations: 4.578 kB / 0.8113 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.52e-05/0.393, allocations: 28.45 kB / 0.8113 GB, free: 243.7 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.3932, allocations: 63.14 kB / 0.8114 GB, free: 243.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.065e-06/0.3932, allocations: 0 / 0.8114 GB, free: 243.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.979e-06/0.3932, allocations: 0 / 0.8114 GB, free: 243.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.643e-06/0.3932, allocations: 1.375 kB / 0.8114 GB, free: 243.7 MB / 0.5886 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.0003076/0.3935, allocations: 342 kB / 0.8117 GB, free: 243.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.3936, allocations: 11.78 kB / 0.8117 GB, free: 243.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.3936, allocations: 5.281 kB / 0.8117 GB, free: 243.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.302e-05/0.3937, allocations: 161.7 kB / 0.8119 GB, free: 243.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.348e-05/0.3938, allocations: 32.81 kB / 0.8119 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.16e-06/0.3938, allocations: 1.375 kB / 0.8119 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.394, allocations: 45.06 kB / 0.812 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.961e-06/0.394, allocations: 1.312 kB / 0.812 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.394, allocations: 0 / 0.812 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.3941, allocations: 6.047 kB / 0.812 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.515e-05/0.3941, allocations: 13.2 kB / 0.812 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005704/0.3947, allocations: 0.593 MB / 0.8126 GB, free: 242.4 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.599e-05/0.3948, allocations: 17.8 kB / 0.8126 GB, free: 242.4 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.699e-05/0.3948, allocations: 8.328 kB / 0.8126 GB, free: 242.4 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002017/0.395, allocations: 343 kB / 0.8129 GB, free: 242 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.395, allocations: 33.31 kB / 0.8129 GB, free: 242 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 2.112e-06/0.3951, allocations: 0 / 0.8129 GB, free: 242 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001518/0.3952, allocations: 37.5 kB / 0.813 GB, free: 241.9 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.3953, allocations: 54.34 kB / 0.813 GB, free: 241.9 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.921e-05/0.3953, allocations: 103.1 kB / 0.8131 GB, free: 241.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.3954, allocations: 26.5 kB / 0.8131 GB, free: 241.7 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.287e-05/0.3954, allocations: 93.75 kB / 0.8132 GB, free: 241.6 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.668e-06/0.3954, allocations: 6.438 kB / 0.8132 GB, free: 241.6 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/0.3954, allocations: 1.719 kB / 0.8132 GB, free: 241.6 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.188e-05/0.3955, allocations: 316.2 kB / 0.8135 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.735e-05/0.3955, allocations: 2.891 kB / 0.8136 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.751e-05/0.3956, allocations: 19.47 kB / 0.8136 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.557e-05/0.3956, allocations: 6.781 kB / 0.8136 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.056e-06/0.3956, allocations: 1.156 kB / 0.8136 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.933e-05/0.3957, allocations: 49.56 kB / 0.8136 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3957, allocations: 6.469 kB / 0.8136 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.574e-06/0.3958, allocations: 1.312 kB / 0.8136 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3958, allocations: 0.7969 kB / 0.8136 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.217e-05/0.3958, allocations: 8.266 kB / 0.8136 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.121e-06/0.3959, allocations: 0 / 0.8136 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.778e-05/0.3959, allocations: 2.797 kB / 0.8136 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.3959, allocations: 1.25 kB / 0.8136 GB, free: 241.3 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.892e-05/0.396, allocations: 120.5 kB / 0.8138 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.396, allocations: 1.781 kB / 0.8138 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.97e-05/0.3961, allocations: 125.5 kB / 0.8139 GB, free: 241 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.788e-05/0.3962, allocations: 178.5 kB / 0.8141 GB, free: 240.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.221e-05/0.3962, allocations: 183.1 kB / 0.8142 GB, free: 240.7 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.033e-05/0.3963, allocations: 178.7 kB / 0.8144 GB, free: 240.5 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.3965, allocations: 414.1 kB / 0.8148 GB, free: 240 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.996e-05/0.3965, allocations: 102.7 kB / 0.8149 GB, free: 239.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.881e-05/0.3965, allocations: 103.6 kB / 0.815 GB, free: 239.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.104e-05/0.3966, allocations: 183.3 kB / 0.8152 GB, free: 239.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.3966, allocations: 182.3 kB / 0.8153 GB, free: 239.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-05/0.3966, allocations: 181.7 kB / 0.8155 GB, free: 239.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.361e-05/0.3967, allocations: 186 kB / 0.8157 GB, free: 239.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.619e-05/0.3968, allocations: 319.2 kB / 0.816 GB, free: 238.8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.3968, allocations: 185.4 kB / 0.8162 GB, free: 238.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/0.3969, allocations: 182.4 kB / 0.8163 GB, free: 238.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.3971, allocations: 108 kB / 0.8164 GB, free: 238.3 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.3971, allocations: 186.8 kB / 0.8166 GB, free: 238.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.3972, allocations: 105.7 kB / 0.8167 GB, free: 238 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.467e-05/0.3972, allocations: 81.83 kB / 0.8168 GB, free: 237.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.9e-07/0.3972, allocations: 0 / 0.8168 GB, free: 237.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004254/0.3977, allocations: 35.03 kB / 0.8168 GB, free: 237.9 MB / 0.5886 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 (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.0002614/0.3979, allocations: 225.7 kB / 0.8171 GB, free: 237.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.548e-05/0.398, allocations: 13.05 kB / 0.8171 GB, free: 237.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.79e-06/0.398, allocations: 0 / 0.8171 GB, free: 237.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.316e-06/0.3981, allocations: 2.688 kB / 0.8171 GB, free: 237.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.3985, allocations: 0.5263 MB / 0.8176 GB, free: 237.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002326/0.3988, allocations: 187.3 kB / 0.8178 GB, free: 237 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.3989, allocations: 0.6783 MB / 0.8184 GB, free: 236.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.487e-05/0.399, allocations: 13.84 kB / 0.8184 GB, free: 236.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.986e-05/0.399, allocations: 10.52 kB / 0.8184 GB, free: 236.3 MB / 0.5886 GB Notification: Performance of SimCode: time 1.405e-06/0.399, allocations: 0 / 0.8184 GB, free: 236.3 MB / 0.5886 GB Notification: Performance of Templates: time 0.004368/0.4034, allocations: 1.09 MB / 0.8195 GB, free: 236.3 MB / 0.5886 GB