Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001226/0.001226, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001325/0.001325, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.332/1.332, 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-master/package.mo): time 0.7764/0.7764, allocations: 135.1 MB / 426.3 MB, free: 4.184 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.91 kB / 0.5068 GB, free: 7.715 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3501, allocations: 80.9 MB / 0.5858 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002362/0.3525, allocations: 1.263 MB / 0.587 GB, free: 24.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002484/0.355, allocations: 2.499 MB / 0.5894 GB, free: 22.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.888e-05/0.3551, allocations: 0 / 0.5894 GB, free: 22.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.3551, allocations: 1.031 kB / 0.5894 GB, free: 22.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.852e-05/0.3552, allocations: 5.031 kB / 0.5894 GB, free: 22.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005315/0.3557, allocations: 130.6 kB / 0.5896 GB, free: 22.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.95e-05/0.3558, allocations: 33.11 kB / 0.5896 GB, free: 22.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.468e-05/0.3558, allocations: 6.562 kB / 0.5896 GB, free: 22.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.072e-05/0.3559, allocations: 21.25 kB / 0.5896 GB, free: 22.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.05e-05/0.3559, allocations: 14.33 kB / 0.5896 GB, free: 22.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.356, allocations: 3.656 kB / 0.5896 GB, free: 22.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002768/0.3563, allocations: 118 kB / 0.5897 GB, free: 22.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.3563, allocations: 6.469 kB / 0.5898 GB, free: 22.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.3563, allocations: 19.58 kB / 0.5898 GB, free: 22.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.3565, allocations: 83.25 kB / 0.5899 GB, free: 22.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3565, allocations: 5.094 kB / 0.5899 GB, free: 22.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3565, allocations: 0 / 0.5899 GB, free: 22.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3566, allocations: 0 / 0.5899 GB, free: 22.27 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.0003556/0.3569, allocations: 358.4 kB / 0.5902 GB, free: 21.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.357, allocations: 10.83 kB / 0.5902 GB, free: 21.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002085/0.3572, allocations: 19.27 kB / 0.5902 GB, free: 21.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.325e-05/0.3573, allocations: 161.8 kB / 0.5904 GB, free: 21.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.3573, allocations: 1.875 kB / 0.5904 GB, free: 21.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.3573, allocations: 9.406 kB / 0.5904 GB, free: 21.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.3574, allocations: 73.81 kB / 0.5905 GB, free: 21.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.3575, allocations: 4.5 kB / 0.5905 GB, free: 21.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.3575, allocations: 5.125 kB / 0.5905 GB, free: 21.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3575, allocations: 2.938 kB / 0.5905 GB, free: 21.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.15e-05/0.3575, allocations: 10.39 kB / 0.5905 GB, free: 21.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.358, allocations: 477 kB / 0.5909 GB, free: 21.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.3581, allocations: 77.23 kB / 0.591 GB, free: 20.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.496e-05/0.3582, allocations: 24.08 kB / 0.591 GB, free: 20.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/0.3582, allocations: 0 / 0.591 GB, free: 20.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.3582, allocations: 40.55 kB / 0.5911 GB, free: 20.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3582, allocations: 0 / 0.5911 GB, free: 20.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005444/0.3588, allocations: 304.1 kB / 0.5914 GB, free: 20.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.3588, allocations: 106.8 kB / 0.5915 GB, free: 20.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.685e-05/0.3589, allocations: 103.6 kB / 0.5916 GB, free: 20.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.3589, allocations: 29.7 kB / 0.5916 GB, free: 20.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.577e-05/0.3589, allocations: 80.14 kB / 0.5917 GB, free: 20.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/0.3589, allocations: 28.62 kB / 0.5917 GB, free: 20.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.359, allocations: 29.7 kB / 0.5917 GB, free: 20.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.73e-05/0.359, allocations: 315.6 kB / 0.592 GB, free: 19.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.394e-05/0.359, allocations: 15.98 kB / 0.592 GB, free: 19.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.475e-05/0.3591, allocations: 59.86 kB / 0.5921 GB, free: 19.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.219e-05/0.3592, allocations: 66.41 kB / 0.5922 GB, free: 19.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3592, allocations: 4.688 kB / 0.5922 GB, free: 19.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001042/0.3593, allocations: 95.98 kB / 0.5923 GB, free: 19.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.3593, allocations: 6.188 kB / 0.5923 GB, free: 19.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3593, allocations: 4 kB / 0.5923 GB, free: 19.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3593, allocations: 3.938 kB / 0.5923 GB, free: 19.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.718e-05/0.3594, allocations: 23.98 kB / 0.5923 GB, free: 19.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.3594, allocations: 6.75 kB / 0.5923 GB, free: 19.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.645e-05/0.3594, allocations: 4 kB / 0.5923 GB, free: 19.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.3595, allocations: 4 kB / 0.5923 GB, free: 19.49 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.101e-05/0.3595, allocations: 121.7 kB / 0.5924 GB, free: 19.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.585e-05/0.3596, allocations: 4 kB / 0.5924 GB, free: 19.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.3596, allocations: 12.66 kB / 0.5924 GB, free: 19.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3596, allocations: 4.625 kB / 0.5924 GB, free: 19.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3596, allocations: 0 / 0.5924 GB, free: 19.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3596, allocations: 2.344 kB / 0.5924 GB, free: 19.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.3599, allocations: 181.5 kB / 0.5926 GB, free: 19.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3599, allocations: 4 kB / 0.5926 GB, free: 19.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.552e-05/0.36, allocations: 12 kB / 0.5926 GB, free: 19.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.36, allocations: 3.984 kB / 0.5926 GB, free: 19.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.36, allocations: 7.984 kB / 0.5926 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.36, allocations: 0.5312 kB / 0.5926 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.36, allocations: 3.938 kB / 0.5927 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.3602, allocations: 340 kB / 0.593 GB, free: 18.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.3602, allocations: 86.23 kB / 0.5931 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.3603, allocations: 0 / 0.5931 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.3604, allocations: 5.844 kB / 0.5931 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.783e-05/0.3605, allocations: 3.984 kB / 0.5931 GB, free: 18.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.3605, allocations: 11.94 kB / 0.5931 GB, free: 18.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.884e-05/0.3605, allocations: 79.28 kB / 0.5932 GB, free: 18.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3605, allocations: 1.594 kB / 0.5932 GB, free: 18.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003212/0.3608, allocations: 12 kB / 0.5932 GB, free: 18.53 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 0.0001094/0.3609, allocations: 112.3 kB / 0.5933 GB, free: 18.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.3611, allocations: 48.83 kB / 0.5933 GB, free: 18.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3611, allocations: 0.5625 kB / 0.5933 GB, free: 18.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.185e-05/0.3611, allocations: 20.84 kB / 0.5933 GB, free: 18.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.3615, allocations: 4 kB / 0.5933 GB, free: 18.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004797/0.362, allocations: 343 kB / 0.5937 GB, free: 18.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.3621, allocations: 0.6854 MB / 0.5943 GB, free: 17.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.987e-05/0.3622, allocations: 8 kB / 0.5944 GB, free: 17.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.811e-05/0.3622, allocations: 11.44 kB / 0.5944 GB, free: 17.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3622, allocations: 0 / 0.5944 GB, free: 17.3 MB / 446.1 MB Notification: Performance of Templates: time 0.002371/0.3646, allocations: 0.637 MB / 0.595 GB, free: 16.69 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)