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.3097/0.3097, allocations: 54.42 MB / 61.89 MB, free: 13.73 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.001242/0.001242, allocations: 191.4 kB / 75.61 MB, free: 0.75 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.783/1.783, allocations: 194.3 MB / 283.5 MB, free: 14.78 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.001783/0.001783, allocations: 110.2 kB / 341.6 MB, free: 4.008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.734e-05/2.736e-05, allocations: 7.984 kB / 405.5 MB, free: 4.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4912/0.4912, allocations: 57.64 MB / 463.1 MB, free: 51.75 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.759/1.25, allocations: 298.2 MB / 0.7435 GB, free: 42.34 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/1.251, allocations: 76.45 kB / 0.7435 GB, free: 42.3 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01846/1.269, allocations: 8.014 MB / 0.7514 GB, free: 36.03 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.457e-06/1.269, allocations: 0 / 0.7514 GB, free: 36.03 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/1.269, allocations: 0 / 0.7514 GB, free: 36.03 MB / 474.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.0005709/1.27, allocations: 350.4 kB / 0.7517 GB, free: 35.64 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.659e-05/1.27, allocations: 8.031 kB / 0.7517 GB, free: 35.64 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000277/1.27, allocations: 15.98 kB / 0.7517 GB, free: 35.62 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/1.27, allocations: 168.4 kB / 0.7519 GB, free: 35.42 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/1.27, allocations: 0 / 0.7519 GB, free: 35.42 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/1.27, allocations: 4 kB / 0.7519 GB, free: 35.41 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.777e-05/1.27, allocations: 7.625 kB / 0.7519 GB, free: 35.41 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/1.271, allocations: 72.55 kB / 0.752 GB, free: 35.33 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/1.271, allocations: 0 / 0.752 GB, free: 35.33 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/1.271, allocations: 0 / 0.752 GB, free: 35.33 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/1.271, allocations: 8 kB / 0.752 GB, free: 35.32 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006732/1.271, allocations: 435 kB / 0.7524 GB, free: 34.85 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/1.272, allocations: 77.91 kB / 0.7525 GB, free: 34.75 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.27e-05/1.272, allocations: 22.59 kB / 0.7525 GB, free: 34.72 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/1.272, allocations: 0 / 0.7525 GB, free: 34.72 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/1.272, allocations: 37.69 kB / 0.7525 GB, free: 34.68 MB / 474.7 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/1.272, allocations: 0 / 0.7525 GB, free: 34.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006721/1.272, allocations: 280 kB / 0.7528 GB, free: 34.36 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/1.272, allocations: 106.6 kB / 0.7529 GB, free: 34.24 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.059e-05/1.272, allocations: 92.94 kB / 0.753 GB, free: 34.14 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/1.272, allocations: 25.7 kB / 0.753 GB, free: 34.11 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/1.273, allocations: 93.53 kB / 0.7531 GB, free: 34.02 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/1.273, allocations: 25.75 kB / 0.7531 GB, free: 34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/1.273, allocations: 64 / 0.7531 GB, free: 34 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.446e-05/1.273, allocations: 322.8 kB / 0.7534 GB, free: 33.67 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.487e-05/1.273, allocations: 11.75 kB / 0.7534 GB, free: 33.66 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.104e-05/1.273, allocations: 44.78 kB / 0.7535 GB, free: 33.61 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.291e-05/1.273, allocations: 23.36 kB / 0.7535 GB, free: 33.59 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.273, allocations: 4 kB / 0.7535 GB, free: 33.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000116/1.273, allocations: 80.06 kB / 0.7536 GB, free: 33.51 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.273, allocations: 4 kB / 0.7536 GB, free: 33.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/1.273, allocations: 4 kB / 0.7536 GB, free: 33.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/1.273, allocations: 0 / 0.7536 GB, free: 33.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.605e-05/1.273, allocations: 19.94 kB / 0.7536 GB, free: 33.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/1.273, allocations: 7.984 kB / 0.7536 GB, free: 33.47 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.334e-05/1.273, allocations: 4.125 kB / 0.7536 GB, free: 33.47 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/1.273, allocations: 4 kB / 0.7536 GB, free: 33.46 MB / 474.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 7.237e-05/1.273, allocations: 114 kB / 0.7537 GB, free: 33.35 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/1.273, allocations: 8.328 kB / 0.7537 GB, free: 33.34 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.054e-05/1.273, allocations: 10.88 kB / 0.7537 GB, free: 33.34 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/1.273, allocations: 0 / 0.7537 GB, free: 33.34 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.273, allocations: 0 / 0.7537 GB, free: 33.34 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/1.273, allocations: 7.984 kB / 0.7537 GB, free: 33.33 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/1.274, allocations: 156.1 kB / 0.7539 GB, free: 33.14 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.274, allocations: 4 kB / 0.7539 GB, free: 33.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.247e-05/1.274, allocations: 19.98 kB / 0.7539 GB, free: 33.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/1.274, allocations: 3.938 kB / 0.7539 GB, free: 33.12 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/1.274, allocations: 4 kB / 0.7539 GB, free: 33.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/1.274, allocations: 3.953 kB / 0.7539 GB, free: 33.11 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.274, allocations: 0 / 0.7539 GB, free: 33.11 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/1.274, allocations: 343.8 kB / 0.7543 GB, free: 32.76 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/1.274, allocations: 89.09 kB / 0.7543 GB, free: 32.65 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/1.274, allocations: 4 kB / 0.7543 GB, free: 32.65 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/1.274, allocations: 0 / 0.7543 GB, free: 32.65 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/1.274, allocations: 11.36 kB / 0.7544 GB, free: 32.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/1.274, allocations: 5.594 kB / 0.7544 GB, free: 32.64 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.878e-05/1.274, allocations: 75.28 kB / 0.7544 GB, free: 32.56 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.274, allocations: 4 kB / 0.7544 GB, free: 32.56 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003105/1.275, allocations: 12 kB / 0.7545 GB, free: 32.55 MB / 474.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.0001869/1.275, allocations: 99.25 kB / 0.7545 GB, free: 32.44 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001134/1.275, allocations: 42.23 kB / 0.7546 GB, free: 32.41 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.275, allocations: 0 / 0.7546 GB, free: 32.41 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.963e-05/1.275, allocations: 15.94 kB / 0.7546 GB, free: 32.39 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/1.275, allocations: 12.33 kB / 0.7546 GB, free: 32.38 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005566/1.276, allocations: 284.4 kB / 0.7549 GB, free: 32.09 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/1.276, allocations: 0.6879 MB / 0.7556 GB, free: 31.38 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 6.464e-05/1.276, allocations: 11.86 kB / 0.7556 GB, free: 31.37 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/1.276, allocations: 11.44 kB / 0.7556 GB, free: 31.36 MB / 474.7 MB Notification: Performance of SimCode: time 7.31e-07/1.276, allocations: 0 / 0.7556 GB, free: 31.36 MB / 474.7 MB Notification: Performance of Templates: time 0.003129/1.279, allocations: 0.5815 MB / 0.7561 GB, free: 30.8 MB / 474.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)