Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2804/0.2804, allocations: 54.33 MB / 66.89 MB, free: 6.102 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001029/0.001029, allocations: 181.6 kB / 80.71 MB, free: 15.41 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.467/1.467, allocations: 194.2 MB / 288.6 MB, free: 15.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001561/0.001561, allocations: 103.9 kB / 346.9 MB, free: 4.746 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.863e-05/3.866e-05, allocations: 0 / 412.4 MB, free: 21.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1525, allocations: 57.64 MB / 470 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.075/1.228, allocations: 298.8 MB / 0.7508 GB, free: 78.92 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/1.228, allocations: 75.2 kB / 0.7509 GB, free: 78.88 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01686/1.245, allocations: 8.041 MB / 0.7588 GB, free: 72.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.264e-06/1.245, allocations: 0 / 0.7588 GB, free: 72.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.663e-06/1.245, allocations: 0 / 0.7588 GB, free: 72.4 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003013/1.245, allocations: 357 kB / 0.7591 GB, free: 72.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/1.245, allocations: 8.031 kB / 0.7591 GB, free: 72.01 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/1.246, allocations: 15.98 kB / 0.7591 GB, free: 71.99 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.111e-05/1.246, allocations: 163.1 kB / 0.7593 GB, free: 71.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/1.246, allocations: 0 / 0.7593 GB, free: 71.79 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/1.246, allocations: 15.36 kB / 0.7593 GB, free: 71.78 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/1.246, allocations: 66.66 kB / 0.7594 GB, free: 71.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/1.246, allocations: 0 / 0.7594 GB, free: 71.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/1.246, allocations: 4 kB / 0.7594 GB, free: 71.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/1.246, allocations: 0 / 0.7594 GB, free: 71.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.379e-05/1.246, allocations: 19.12 kB / 0.7594 GB, free: 71.69 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/1.247, allocations: 464.8 kB / 0.7598 GB, free: 71.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/1.247, allocations: 82.23 kB / 0.7599 GB, free: 71.08 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.468e-05/1.247, allocations: 22.62 kB / 0.7599 GB, free: 71.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/1.247, allocations: 0 / 0.7599 GB, free: 71.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/1.247, allocations: 41.81 kB / 0.76 GB, free: 71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/1.247, allocations: 3.938 kB / 0.76 GB, free: 71 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005215/1.247, allocations: 293.4 kB / 0.7602 GB, free: 70.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/1.247, allocations: 106.8 kB / 0.7603 GB, free: 70.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.598e-05/1.247, allocations: 92.94 kB / 0.7604 GB, free: 70.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/1.247, allocations: 28.95 kB / 0.7605 GB, free: 70.42 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.797e-05/1.247, allocations: 84.05 kB / 0.7605 GB, free: 70.33 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/1.247, allocations: 34.11 kB / 0.7606 GB, free: 70.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/1.247, allocations: 4 kB / 0.7606 GB, free: 70.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.131e-05/1.248, allocations: 314.2 kB / 0.7609 GB, free: 69.99 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.312e-05/1.248, allocations: 15.38 kB / 0.7609 GB, free: 69.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.361e-05/1.248, allocations: 48.2 kB / 0.7609 GB, free: 69.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.694e-05/1.248, allocations: 30.86 kB / 0.761 GB, free: 69.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/1.248, allocations: 7.891 kB / 0.761 GB, free: 69.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001011/1.248, allocations: 87.55 kB / 0.7611 GB, free: 69.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/1.248, allocations: 4 kB / 0.7611 GB, free: 69.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.248, allocations: 4 kB / 0.7611 GB, free: 69.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/1.248, allocations: 0 / 0.7611 GB, free: 69.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.801e-05/1.248, allocations: 20 kB / 0.7611 GB, free: 69.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/1.248, allocations: 4.125 kB / 0.7611 GB, free: 69.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.489e-05/1.248, allocations: 7.125 kB / 0.7611 GB, free: 69.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/1.248, allocations: 4 kB / 0.7611 GB, free: 69.76 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 4.644e-05/1.248, allocations: 116.6 kB / 0.7612 GB, free: 69.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.417e-05/1.248, allocations: 11.86 kB / 0.7612 GB, free: 69.63 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.264e-05/1.248, allocations: 7.125 kB / 0.7612 GB, free: 69.63 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/1.248, allocations: 4 kB / 0.7612 GB, free: 69.63 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/1.248, allocations: 0 / 0.7612 GB, free: 69.63 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.248, allocations: 0 / 0.7612 GB, free: 69.63 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/1.248, allocations: 180.5 kB / 0.7614 GB, free: 69.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.248, allocations: 4 kB / 0.7614 GB, free: 69.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.429e-05/1.248, allocations: 19.94 kB / 0.7614 GB, free: 69.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/1.248, allocations: 0 / 0.7614 GB, free: 69.39 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/1.248, allocations: 4 kB / 0.7614 GB, free: 69.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.249, allocations: 4.062 kB / 0.7614 GB, free: 69.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.249, allocations: 0 / 0.7614 GB, free: 69.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/1.249, allocations: 360.7 kB / 0.7618 GB, free: 69.01 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/1.249, allocations: 85.14 kB / 0.7619 GB, free: 68.91 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/1.249, allocations: 0 / 0.7619 GB, free: 68.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/1.249, allocations: 7.562 kB / 0.7619 GB, free: 68.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/1.249, allocations: 7.984 kB / 0.7619 GB, free: 68.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/1.249, allocations: 4 kB / 0.7619 GB, free: 68.89 MB / 490.7 MB Notification: Performance of sorting global known variables: time 1.892e-05/1.249, allocations: 86.47 kB / 0.762 GB, free: 68.81 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.249, allocations: 0 / 0.762 GB, free: 68.81 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002759/1.249, allocations: 12 kB / 0.762 GB, free: 68.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001563/1.249, allocations: 114 kB / 0.7621 GB, free: 68.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.398e-05/1.25, allocations: 42.25 kB / 0.7621 GB, free: 68.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.25, allocations: 256 / 0.7621 GB, free: 68.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.999e-05/1.25, allocations: 23.19 kB / 0.7621 GB, free: 68.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/1.25, allocations: 19.09 kB / 0.7622 GB, free: 68.61 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000436/1.25, allocations: 290 kB / 0.7624 GB, free: 68.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/1.25, allocations: 0.69 MB / 0.7631 GB, free: 67.59 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.535e-05/1.25, allocations: 15.84 kB / 0.7631 GB, free: 67.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.72e-05/1.25, allocations: 11.44 kB / 0.7631 GB, free: 67.56 MB / 490.7 MB Notification: Performance of SimCode: time 2.31e-07/1.25, allocations: 0 / 0.7631 GB, free: 67.56 MB / 490.7 MB Notification: Performance of Templates: time 0.002508/1.253, allocations: 0.595 MB / 0.7637 GB, free: 67 MB / 490.7 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)