Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 117.6 kB / 16.37 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001264, allocations: 189.7 kB / 17.3 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7958/0.7958, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001314, allocations: 63.89 kB / 0.5032 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.344, allocations: 80.18 MB / 0.5815 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.00236/0.3464, allocations: 1.26 MB / 0.5827 GB, free: 26.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002641/0.3491, allocations: 2.5 MB / 0.5852 GB, free: 24.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.279e-05/0.3491, allocations: 0 / 0.5852 GB, free: 24.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.712e-05/0.3491, allocations: 3.984 kB / 0.5852 GB, free: 24.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.724e-05/0.3492, allocations: 5.438 kB / 0.5852 GB, free: 24.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005714/0.3498, allocations: 130 kB / 0.5853 GB, free: 24.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.492e-05/0.3499, allocations: 34.23 kB / 0.5853 GB, free: 24.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.3499, allocations: 1.188 kB / 0.5853 GB, free: 24.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.372e-05/0.35, allocations: 25.25 kB / 0.5854 GB, free: 24.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.962e-05/0.3501, allocations: 18.48 kB / 0.5854 GB, free: 24.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.3501, allocations: 3 kB / 0.5854 GB, free: 24.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003034/0.3504, allocations: 115.6 kB / 0.5855 GB, free: 24.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.3504, allocations: 6.844 kB / 0.5855 GB, free: 24.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.006e-05/0.3504, allocations: 17.7 kB / 0.5855 GB, free: 24.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.3506, allocations: 83.33 kB / 0.5856 GB, free: 24.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3507, allocations: 0.5938 kB / 0.5856 GB, free: 24.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3507, allocations: 1.375 kB / 0.5856 GB, free: 24.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.3507, allocations: 0.9688 kB / 0.5856 GB, free: 24.55 MB / 446.1 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.0003312/0.351, allocations: 362.1 kB / 0.5859 GB, free: 24.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.3511, allocations: 13.09 kB / 0.586 GB, free: 24.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/0.3513, allocations: 16.14 kB / 0.586 GB, free: 24.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.425e-05/0.3514, allocations: 160.4 kB / 0.5861 GB, free: 23.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.3514, allocations: 6.938 kB / 0.5861 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.3514, allocations: 6.031 kB / 0.5861 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.3515, allocations: 77.8 kB / 0.5862 GB, free: 23.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3515, allocations: 3.938 kB / 0.5862 GB, free: 23.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3516, allocations: 1.25 kB / 0.5862 GB, free: 23.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3516, allocations: 2.5 kB / 0.5862 GB, free: 23.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.314e-05/0.3516, allocations: 18.55 kB / 0.5862 GB, free: 23.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.3521, allocations: 472.2 kB / 0.5867 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.3522, allocations: 71.77 kB / 0.5868 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.63e-05/0.3523, allocations: 23.59 kB / 0.5868 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.3523, allocations: 3.5 kB / 0.5868 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.3523, allocations: 36.81 kB / 0.5868 GB, free: 23.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.3523, allocations: 0 / 0.5868 GB, free: 23.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005129/0.3528, allocations: 305.1 kB / 0.5871 GB, free: 22.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.3529, allocations: 107.7 kB / 0.5872 GB, free: 22.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.919e-05/0.3529, allocations: 98.83 kB / 0.5873 GB, free: 22.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.3529, allocations: 40.03 kB / 0.5873 GB, free: 22.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.371e-05/0.353, allocations: 85.42 kB / 0.5874 GB, free: 22.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.353, allocations: 22.72 kB / 0.5874 GB, free: 22.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.353, allocations: 25.95 kB / 0.5875 GB, free: 22.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.731e-05/0.3531, allocations: 322.2 kB / 0.5878 GB, free: 22.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.645e-05/0.3531, allocations: 16.27 kB / 0.5878 GB, free: 22.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.57e-05/0.3531, allocations: 49.61 kB / 0.5878 GB, free: 22.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.078e-05/0.3532, allocations: 69.19 kB / 0.5879 GB, free: 22.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3532, allocations: 1.031 kB / 0.5879 GB, free: 22.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001208/0.3534, allocations: 100.6 kB / 0.588 GB, free: 22.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3534, allocations: 6.219 kB / 0.588 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3534, allocations: 1.531 kB / 0.588 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3534, allocations: 7.672 kB / 0.588 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.759e-05/0.3535, allocations: 24.27 kB / 0.588 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.3535, allocations: 2 kB / 0.588 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.674e-05/0.3535, allocations: 2.812 kB / 0.588 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.3536, allocations: 9.156 kB / 0.5881 GB, free: 22 MB / 446.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.108e-05/0.3536, allocations: 121.5 kB / 0.5882 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.065e-05/0.3537, allocations: 3.062 kB / 0.5882 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.3537, allocations: 13.58 kB / 0.5882 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3537, allocations: 2.531 kB / 0.5882 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3537, allocations: 0.7188 kB / 0.5882 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3537, allocations: 1.219 kB / 0.5882 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.354, allocations: 179.9 kB / 0.5884 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.354, allocations: 0 / 0.5884 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.431e-05/0.3541, allocations: 13.75 kB / 0.5884 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3541, allocations: 1.406 kB / 0.5884 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.3541, allocations: 7.938 kB / 0.5884 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3542, allocations: 5.359 kB / 0.5884 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3542, allocations: 5.156 kB / 0.5884 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.3543, allocations: 334.6 kB / 0.5887 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.419e-05/0.3544, allocations: 89.17 kB / 0.5888 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.3544, allocations: 5.25 kB / 0.5888 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.3546, allocations: 2.719 kB / 0.5888 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/0.3546, allocations: 7.172 kB / 0.5888 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.3546, allocations: 8.156 kB / 0.5888 GB, free: 21.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.787e-05/0.3546, allocations: 81.97 kB / 0.5889 GB, free: 21.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3546, allocations: 0 / 0.5889 GB, free: 21.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003173/0.355, allocations: 10.56 kB / 0.5889 GB, free: 21.14 MB / 446.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.698e-05/0.3551, allocations: 106.1 kB / 0.589 GB, free: 21.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.3552, allocations: 53.38 kB / 0.5891 GB, free: 21.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3552, allocations: 0.9062 kB / 0.5891 GB, free: 21.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.426e-05/0.3552, allocations: 15.59 kB / 0.5891 GB, free: 21.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.3556, allocations: 8.031 kB / 0.5891 GB, free: 21.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005132/0.3562, allocations: 340.5 kB / 0.5894 GB, free: 20.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.3563, allocations: 0.6857 MB / 0.5901 GB, free: 20.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.336e-05/0.3563, allocations: 7.781 kB / 0.5901 GB, free: 20.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.126e-05/0.3563, allocations: 11.62 kB / 0.5901 GB, free: 20.06 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3564, allocations: 0 / 0.5901 GB, free: 20.06 MB / 446.1 MB Notification: Performance of Templates: time 0.002605/0.359, allocations: 0.6363 MB / 0.5907 GB, free: 19.77 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)