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.0008017/0.0008017, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0008767/0.0008767, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.159/1.159, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6544/0.6544, allocations: 132.4 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002558/0.0002559, allocations: 8 kB / 0.5034 GB, free: 4.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3327, allocations: 81.58 MB / 0.5831 GB, free: 4.215 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.0008925/0.3337, allocations: 0.9796 MB / 0.584 GB, free: 3.488 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.3357, allocations: 2.348 MB / 0.5863 GB, free: 1.809 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.658e-05/0.3357, allocations: 0 / 0.5863 GB, free: 1.809 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.477e-06/0.3357, allocations: 5.719 kB / 0.5863 GB, free: 1.805 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.578e-05/0.3358, allocations: 5.781 kB / 0.5863 GB, free: 1.801 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.3361, allocations: 101.2 kB / 0.5864 GB, free: 1.746 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.007e-05/0.3361, allocations: 32.16 kB / 0.5865 GB, free: 1.734 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.56e-05/0.3362, allocations: 1.531 kB / 0.5865 GB, free: 1.734 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.263e-05/0.3362, allocations: 16.31 kB / 0.5865 GB, free: 1.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.597e-05/0.3363, allocations: 18.23 kB / 0.5865 GB, free: 1.723 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.3363, allocations: 6.75 kB / 0.5865 GB, free: 1.719 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.3365, allocations: 91.56 kB / 0.5866 GB, free: 1.688 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.3365, allocations: 3.797 kB / 0.5866 GB, free: 1.688 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.647e-05/0.3365, allocations: 33.52 kB / 0.5866 GB, free: 1.652 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.3366, allocations: 50.92 kB / 0.5867 GB, free: 1.637 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3366, allocations: 0 / 0.5867 GB, free: 1.637 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3366, allocations: 5.453 kB / 0.5867 GB, free: 1.633 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.495e-06/0.3367, allocations: 0 / 0.5867 GB, free: 1.633 MB / 430.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.000227/0.3369, allocations: 348.5 kB / 0.587 GB, free: 1.262 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.742e-05/0.3369, allocations: 10.08 kB / 0.587 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.3371, allocations: 15.88 kB / 0.587 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.075e-05/0.3372, allocations: 160.3 kB / 0.5872 GB, free: 1.062 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.3372, allocations: 6.406 kB / 0.5872 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.3372, allocations: 4.406 kB / 0.5872 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.916e-05/0.3373, allocations: 71.05 kB / 0.5873 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.3373, allocations: 4.641 kB / 0.5873 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.3373, allocations: 9.203 kB / 0.5873 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3373, allocations: 1.719 kB / 0.5873 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.126e-05/0.3374, allocations: 16.56 kB / 0.5873 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/0.3377, allocations: 466.9 kB / 0.5877 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.295e-05/0.3379, allocations: 77.27 kB / 0.5878 GB, free: 420 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/0.3379, allocations: 20.91 kB / 0.5878 GB, free: 396 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.3379, allocations: 1.062 kB / 0.5878 GB, free: 396 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.338e-05/0.3379, allocations: 41.12 kB / 0.5879 GB, free: 348 kB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.3379, allocations: 0 / 0.5879 GB, free: 348 kB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004326/0.3384, allocations: 297.6 kB / 0.5882 GB, free: 64 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.3384, allocations: 109.8 kB / 0.5883 GB, free: 15.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.011e-05/0.3385, allocations: 103.3 kB / 0.5884 GB, free: 15.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.3385, allocations: 27.17 kB / 0.5884 GB, free: 15.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.124e-05/0.3385, allocations: 90.22 kB / 0.5885 GB, free: 15.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.3386, allocations: 32.12 kB / 0.5885 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.3386, allocations: 0.625 kB / 0.5885 GB, free: 15.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.301e-05/0.3387, allocations: 318.4 kB / 0.5888 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.655e-05/0.3387, allocations: 9.016 kB / 0.5888 GB, free: 15.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.819e-05/0.3388, allocations: 57.05 kB / 0.5889 GB, free: 15.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.83e-05/0.3388, allocations: 23.5 kB / 0.5889 GB, free: 15.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3388, allocations: 0.9062 kB / 0.5889 GB, free: 15.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001249/0.3389, allocations: 93.36 kB / 0.589 GB, free: 15.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.339, allocations: 10.14 kB / 0.589 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.339, allocations: 0.7188 kB / 0.589 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.339, allocations: 7.531 kB / 0.589 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.851e-05/0.3391, allocations: 19.3 kB / 0.589 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3391, allocations: 1.891 kB / 0.589 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.67e-05/0.3391, allocations: 9.969 kB / 0.589 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.3391, allocations: 4.578 kB / 0.589 GB, free: 15.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.124e-05/0.3392, allocations: 120.8 kB / 0.5892 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.217e-05/0.3393, allocations: 2.75 kB / 0.5892 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.3393, allocations: 14.2 kB / 0.5892 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3393, allocations: 1.281 kB / 0.5892 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3393, allocations: 9.062 kB / 0.5892 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3393, allocations: 5.922 kB / 0.5892 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.3396, allocations: 169.5 kB / 0.5893 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3396, allocations: 1.156 kB / 0.5893 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.742e-05/0.3397, allocations: 15.61 kB / 0.5894 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3397, allocations: 1.406 kB / 0.5894 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.3397, allocations: 5.875 kB / 0.5894 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3397, allocations: 5.609 kB / 0.5894 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3397, allocations: 5.672 kB / 0.5894 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.3399, allocations: 331.3 kB / 0.5897 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.34, allocations: 85.53 kB / 0.5898 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.34, allocations: 6.172 kB / 0.5898 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.3402, allocations: 3.797 kB / 0.5898 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.904e-05/0.3402, allocations: 8.453 kB / 0.5898 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-06/0.3402, allocations: 3.594 kB / 0.5898 GB, free: 14.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.621e-05/0.3402, allocations: 87.08 kB / 0.5899 GB, free: 14.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.442e-06/0.3403, allocations: 0 / 0.5899 GB, free: 14.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.3405, allocations: 14.62 kB / 0.5899 GB, free: 14.38 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 (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 9.311e-05/0.3406, allocations: 112.6 kB / 0.59 GB, free: 14.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.696e-05/0.3407, allocations: 42.97 kB / 0.59 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.3407, allocations: 4.25 kB / 0.59 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.547e-05/0.3408, allocations: 17.55 kB / 0.5901 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.3411, allocations: 13.16 kB / 0.5901 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005251/0.3417, allocations: 397.7 kB / 0.5905 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.3419, allocations: 0.6832 MB / 0.5911 GB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.883e-05/0.342, allocations: 12.8 kB / 0.5911 GB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.866e-05/0.342, allocations: 11.53 kB / 0.5911 GB, free: 13.24 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.342, allocations: 0 / 0.5911 GB, free: 13.24 MB / 446.1 MB Notification: Performance of Templates: time 0.002195/0.3442, allocations: 0.5848 MB / 0.5917 GB, free: 13.18 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 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)