Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002381/0.00238, allocations: 169 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8198/0.8198, allocations: 130.7 MB / 138.7 MB, free: 3.527 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 221.5 MB / 391.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 85.3 kB / 473.9 MB, free: 4.465 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.863e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5872/0.5872, allocations: 81.57 MB / 0.6282 GB, free: 42.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8863/1.474, allocations: 318.6 MB / 0.9393 GB, free: 8.148 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/1.474, allocations: 79.89 kB / 0.9394 GB, free: 8.105 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.03993/1.514, allocations: 16.65 MB / 0.9556 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.755e-06/1.514, allocations: 7.984 kB / 0.9556 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.896e-05/1.514, allocations: 3.75 kB / 0.9556 GB, free: 10.3 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009601/1.515, allocations: 477.6 kB / 0.9561 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/1.515, allocations: 11.97 kB / 0.9561 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/1.517, allocations: 174.6 kB / 0.9563 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/1.517, allocations: 213.9 kB / 0.9565 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/1.517, allocations: 8 kB / 0.9565 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.864e-05/1.517, allocations: 8 kB / 0.9565 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004163/1.518, allocations: 200.1 kB / 0.9567 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003765/1.518, allocations: 234.7 kB / 0.9569 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/1.518, allocations: 0 / 0.9569 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/1.518, allocations: 4 kB / 0.9569 GB, free: 9 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/1.518, allocations: 8 kB / 0.9569 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/1.52, allocations: 1.352 MB / 0.9582 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/1.52, allocations: 142.7 kB / 0.9584 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.596e-05/1.521, allocations: 58.89 kB / 0.9584 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/1.521, allocations: 0 / 0.9584 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/1.521, allocations: 38.06 kB / 0.9585 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/1.521, allocations: 4 kB / 0.9585 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.000348/1.521, allocations: 143.1 kB / 0.9586 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/1.521, allocations: 59.36 kB / 0.9587 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/1.521, allocations: 129.3 kB / 0.9588 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/1.521, allocations: 25.7 kB / 0.9588 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.907e-05/1.521, allocations: 130.1 kB / 0.9589 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.78e-05/1.521, allocations: 66.59 kB / 0.959 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.539e-05/1.521, allocations: 0 / 0.959 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001186/1.522, allocations: 322.1 kB / 0.9593 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.541e-05/1.522, allocations: 42.09 kB / 0.9593 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/1.522, allocations: 121 kB / 0.9595 GB, free: 6.398 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/1.522, allocations: 66.16 kB / 0.9595 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.522, allocations: 0 / 0.9595 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003184/1.522, allocations: 195.2 kB / 0.9597 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/1.522, allocations: 4 kB / 0.9597 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.522, allocations: 4 kB / 0.9597 GB, free: 6.176 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/1.522, allocations: 8 kB / 0.9597 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/1.523, allocations: 71.33 kB / 0.9598 GB, free: 6.102 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/1.523, allocations: 4 kB / 0.9598 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/1.523, allocations: 28 kB / 0.9598 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/1.523, allocations: 11.98 kB / 0.9598 GB, free: 6.059 MB / 0.5886 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 () * 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.00011/1.523, allocations: 112.7 kB / 0.9599 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.211e-05/1.523, allocations: 15.81 kB / 0.96 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003965/1.524, allocations: 184.6 kB / 0.9601 GB, free: 5.781 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/1.524, allocations: 4 kB / 0.9601 GB, free: 5.777 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/1.524, allocations: 0 / 0.9601 GB, free: 5.777 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.524, allocations: 3.938 kB / 0.9601 GB, free: 5.773 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/1.524, allocations: 210.9 kB / 0.9603 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.524, allocations: 0 / 0.9603 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003129/1.524, allocations: 51.95 kB / 0.9604 GB, free: 5.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/1.524, allocations: 4 kB / 0.9604 GB, free: 5.496 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/1.524, allocations: 3.938 kB / 0.9604 GB, free: 5.496 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.524, allocations: 4 kB / 0.9604 GB, free: 5.492 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.524, allocations: 0 / 0.9604 GB, free: 5.492 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/1.525, allocations: 255.1 kB / 0.9606 GB, free: 5.258 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/1.525, allocations: 112.5 kB / 0.9608 GB, free: 5.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/1.525, allocations: 0 / 0.9608 GB, free: 5.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/1.525, allocations: 19.98 kB / 0.9608 GB, free: 5.113 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/1.525, allocations: 11.73 kB / 0.9608 GB, free: 5.105 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/1.525, allocations: 11.92 kB / 0.9608 GB, free: 5.094 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.549e-05/1.525, allocations: 101 kB / 0.9609 GB, free: 5.004 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/1.525, allocations: 0 / 0.9609 GB, free: 5.004 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004101/1.526, allocations: 59.97 kB / 0.961 GB, free: 4.945 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 () * 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.0002512/1.526, allocations: 131.2 kB / 0.9611 GB, free: 4.809 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000266/1.526, allocations: 136 kB / 0.9612 GB, free: 4.711 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.526, allocations: 0.625 kB / 0.9612 GB, free: 4.711 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.777e-05/1.526, allocations: 70.98 kB / 0.9613 GB, free: 4.656 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/1.527, allocations: 30.97 kB / 0.9613 GB, free: 4.633 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006483/1.527, allocations: 204.4 kB / 0.9615 GB, free: 4.43 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/1.528, allocations: 0.7248 MB / 0.9622 GB, free: 3.676 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003619/1.528, allocations: 49.83 kB / 0.9623 GB, free: 3.625 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.671e-05/1.528, allocations: 23.42 kB / 0.9623 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of SimCode: time 2.21e-07/1.528, allocations: 0 / 0.9623 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of Templates: time 0.006715/1.535, allocations: 2.723 MB / 0.9649 GB, free: 0.9102 MB / 0.5886 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)