Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002492/0.002497, allocations: 361.2 kB / 16.58 MB, free: 5.57 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.405/1.405, allocations: 165.8 MB / 183.1 MB, free: 5.465 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.682/3.682, allocations: 410.8 MB / 0.6001 GB, free: 15.13 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.001686/0.001686, allocations: 198.7 kB / 0.6668 GB, free: 6.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004708/0.0004711, allocations: 11.94 kB / 0.7429 GB, free: 8.941 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.3995, allocations: 67.43 MB / 0.8087 GB, free: 28.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7957/1.195, allocations: 306.4 MB / 1.108 GB, free: 6.871 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/1.196, allocations: 83.38 kB / 1.108 GB, free: 6.824 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.06575/1.261, allocations: 16.28 MB / 1.124 GB, free: 9.148 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.734e-06/1.261, allocations: 0 / 1.124 GB, free: 9.148 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.661e-05/1.261, allocations: 4 kB / 1.124 GB, free: 9.145 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009082/1.262, allocations: 485.5 kB / 1.124 GB, free: 8.633 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/1.262, allocations: 8.031 kB / 1.124 GB, free: 8.625 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002976/1.265, allocations: 182.4 kB / 1.125 GB, free: 8.461 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/1.266, allocations: 213.6 kB / 1.125 GB, free: 8.223 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/1.266, allocations: 7.953 kB / 1.125 GB, free: 8.219 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.111e-05/1.266, allocations: 15.5 kB / 1.125 GB, free: 8.207 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/1.267, allocations: 305.3 kB / 1.125 GB, free: 7.93 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/1.267, allocations: 7.922 kB / 1.125 GB, free: 7.922 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.642e-05/1.267, allocations: 15.69 kB / 1.125 GB, free: 7.91 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.614e-05/1.267, allocations: 4 kB / 1.125 GB, free: 7.906 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/1.268, allocations: 261.2 kB / 1.125 GB, free: 7.703 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002505/1.271, allocations: 1.388 MB / 1.127 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/1.272, allocations: 189.6 kB / 1.127 GB, free: 6.121 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000394/1.273, allocations: 83.12 kB / 1.127 GB, free: 6.059 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.011e-05/1.273, allocations: 3.938 kB / 1.127 GB, free: 6.055 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/1.273, allocations: 37.94 kB / 1.127 GB, free: 6.012 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=18): time 2.575e-06/1.273, allocations: 0 / 1.127 GB, free: 6.012 MB / 0.5573 GB Notification: Performance of matching and sorting (n=18): time 0.001337/1.274, allocations: 249.4 kB / 1.127 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/1.274, allocations: 55.41 kB / 1.127 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/1.274, allocations: 155 kB / 1.127 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/1.274, allocations: 28.95 kB / 1.128 GB, free: 5.566 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/1.275, allocations: 134.6 kB / 1.128 GB, free: 5.441 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.385e-05/1.275, allocations: 62.34 kB / 1.128 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/1.275, allocations: 3.562 kB / 1.128 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.275, allocations: 329.6 kB / 1.128 GB, free: 5.062 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/1.275, allocations: 63.22 kB / 1.128 GB, free: 5.016 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/1.276, allocations: 141.8 kB / 1.128 GB, free: 4.867 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000419/1.276, allocations: 76.41 kB / 1.128 GB, free: 4.812 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/1.276, allocations: 0 / 1.128 GB, free: 4.812 MB / 0.5573 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001023/1.277, allocations: 258.6 kB / 1.129 GB, free: 4.605 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/1.277, allocations: 4.312 kB / 1.129 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/1.277, allocations: 8 kB / 1.129 GB, free: 4.594 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/1.277, allocations: 4 kB / 1.129 GB, free: 4.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006988/1.278, allocations: 67.88 kB / 1.129 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/1.278, allocations: 4 kB / 1.129 GB, free: 4.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/1.278, allocations: 35.33 kB / 1.129 GB, free: 4.488 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/1.278, allocations: 11.75 kB / 1.129 GB, free: 4.48 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 0.0001845/1.279, allocations: 132.7 kB / 1.129 GB, free: 4.348 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.569e-05/1.279, allocations: 23.75 kB / 1.129 GB, free: 4.324 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/1.28, allocations: 221.1 kB / 1.129 GB, free: 4.164 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/1.28, allocations: 4 kB / 1.129 GB, free: 4.16 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.28, allocations: 0 / 1.129 GB, free: 4.16 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/1.28, allocations: 3.984 kB / 1.129 GB, free: 4.156 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/1.28, allocations: 238.6 kB / 1.129 GB, free: 3.898 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/1.28, allocations: 0 / 1.129 GB, free: 3.898 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005961/1.281, allocations: 55.89 kB / 1.129 GB, free: 3.848 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.604e-05/1.281, allocations: 7.953 kB / 1.129 GB, free: 3.84 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/1.281, allocations: 0 / 1.129 GB, free: 3.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/1.281, allocations: 0 / 1.129 GB, free: 3.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.281, allocations: 0 / 1.129 GB, free: 3.84 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009283/1.282, allocations: 303.3 kB / 1.13 GB, free: 3.574 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/1.282, allocations: 108.8 kB / 1.13 GB, free: 3.449 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.256e-05/1.282, allocations: 7.422 kB / 1.13 GB, free: 3.445 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000469/1.283, allocations: 19.62 kB / 1.13 GB, free: 3.43 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/1.283, allocations: 11.98 kB / 1.13 GB, free: 3.418 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-05/1.283, allocations: 11.94 kB / 1.13 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001164/1.283, allocations: 113.6 kB / 1.13 GB, free: 3.309 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.41e-07/1.283, allocations: 0 / 1.13 GB, free: 3.309 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005346/1.283, allocations: 55.44 kB / 1.13 GB, free: 3.262 MB / 0.5573 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 (20): * Single equations (assignments): 20 * 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.000267/1.284, allocations: 138.8 kB / 1.13 GB, free: 3.117 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000893/1.285, allocations: 183.1 kB / 1.13 GB, free: 2.973 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.285, allocations: 0 / 1.13 GB, free: 2.973 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004111/1.285, allocations: 90.34 kB / 1.13 GB, free: 2.902 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007227/1.286, allocations: 57.7 kB / 1.13 GB, free: 2.859 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/1.287, allocations: 495 kB / 1.131 GB, free: 2.371 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/1.288, allocations: 0.7178 MB / 1.132 GB, free: 1.629 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006287/1.288, allocations: 49.94 kB / 1.132 GB, free: 1.578 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/1.289, allocations: 27.42 kB / 1.132 GB, free: 1.551 MB / 0.5573 GB Notification: Performance of SimCode: time 1.572e-06/1.289, allocations: 0 / 1.132 GB, free: 1.551 MB / 0.5573 GB Notification: Performance of Templates: time 0.01034/1.299, allocations: 3.05 MB / 1.135 GB, free: 14.56 MB / 0.573 GB