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.006783/0.006783, allocations: 107.4 kB / 15.74 MB, free: 6.441 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.001357/0.001356, allocations: 195.1 kB / 16.67 MB, free: 6.355 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8245/0.8245, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 58.59 kB / 0.5813 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1937, allocations: 80.21 MB / 0.6596 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002762/0.1965, allocations: 1.272 MB / 0.6609 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003712/0.2003, allocations: 2.502 MB / 0.6633 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.306e-05/0.2003, allocations: 4 kB / 0.6633 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.147e-05/0.2004, allocations: 3.938 kB / 0.6633 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.179e-05/0.2004, allocations: 0 / 0.6633 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007296/0.2012, allocations: 131.4 kB / 0.6635 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.2013, allocations: 39.86 kB / 0.6635 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.94e-05/0.2014, allocations: 0 / 0.6635 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.737e-05/0.2014, allocations: 27.91 kB / 0.6635 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.91e-05/0.2015, allocations: 15.92 kB / 0.6635 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.2015, allocations: 4 kB / 0.6635 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003512/0.2019, allocations: 119.7 kB / 0.6637 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.2019, allocations: 4 kB / 0.6637 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.79e-05/0.2019, allocations: 19.92 kB / 0.6637 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.2022, allocations: 83.77 kB / 0.6638 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2022, allocations: 0 / 0.6638 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2023, allocations: 4 kB / 0.6638 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.248e-06/0.2023, allocations: 0 / 0.6638 GB, free: 9.305 MB / 0.4981 GB 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.0004401/0.2027, allocations: 351.5 kB / 0.6641 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.2028, allocations: 8.031 kB / 0.6641 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002339/0.203, allocations: 12.92 kB / 0.6641 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.2031, allocations: 172.3 kB / 0.6643 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.2031, allocations: 384 / 0.6643 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.2032, allocations: 4.375 kB / 0.6643 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.2033, allocations: 84.3 kB / 0.6644 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2034, allocations: 0 / 0.6644 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.2034, allocations: 0 / 0.6644 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2034, allocations: 4 kB / 0.6644 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.66e-05/0.2034, allocations: 15.92 kB / 0.6644 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006494/0.2041, allocations: 466.9 kB / 0.6648 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.2042, allocations: 71.81 kB / 0.6649 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.442e-05/0.2043, allocations: 18.64 kB / 0.6649 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.2043, allocations: 7.938 kB / 0.6649 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.2043, allocations: 42.5 kB / 0.665 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.2044, allocations: 0 / 0.665 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.000671/0.205, allocations: 310 kB / 0.6653 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.2051, allocations: 107.1 kB / 0.6654 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.966e-05/0.2052, allocations: 97.84 kB / 0.6655 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.2052, allocations: 33.7 kB / 0.6655 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.985e-05/0.2053, allocations: 87.98 kB / 0.6656 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.2053, allocations: 23.66 kB / 0.6656 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-05/0.2054, allocations: 33.61 kB / 0.6656 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.2055, allocations: 314.8 kB / 0.6659 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.74e-05/0.2055, allocations: 15.98 kB / 0.6659 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.993e-05/0.2056, allocations: 57.14 kB / 0.666 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.157e-05/0.2057, allocations: 69.03 kB / 0.6661 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2057, allocations: 8 kB / 0.6661 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001429/0.2058, allocations: 90.06 kB / 0.6662 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2059, allocations: 5.406 kB / 0.6662 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2059, allocations: 4 kB / 0.6662 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.2059, allocations: 96 / 0.6662 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.981e-05/0.206, allocations: 24.03 kB / 0.6662 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.206, allocations: 8 kB / 0.6662 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.944e-05/0.206, allocations: 7.938 kB / 0.6662 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.2061, allocations: 8.125 kB / 0.6662 GB, free: 6.434 MB / 0.4981 GB 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 8.434e-05/0.2061, allocations: 118.4 kB / 0.6663 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.926e-05/0.2062, allocations: 7.906 kB / 0.6663 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.2063, allocations: 11.55 kB / 0.6663 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2063, allocations: 4 kB / 0.6664 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2063, allocations: 0 / 0.6664 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2063, allocations: 0 / 0.6664 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.2066, allocations: 177.6 kB / 0.6665 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/0.2066, allocations: 4 kB / 0.6665 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.077e-05/0.2067, allocations: 16 kB / 0.6665 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2067, allocations: 0 / 0.6665 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.2068, allocations: 7.984 kB / 0.6665 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.2068, allocations: 3.938 kB / 0.6666 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2068, allocations: 0 / 0.6666 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.207, allocations: 326 kB / 0.6669 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.447e-05/0.2071, allocations: 97.05 kB / 0.667 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.2071, allocations: 0 / 0.667 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.2073, allocations: 4 kB / 0.667 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.2073, allocations: 7.922 kB / 0.667 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.2073, allocations: 15.88 kB / 0.667 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.661e-05/0.2074, allocations: 79.28 kB / 0.6671 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2074, allocations: 0 / 0.6671 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003169/0.2077, allocations: 8 kB / 0.6671 GB, free: 5.461 MB / 0.4981 GB 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.0001477/0.2079, allocations: 115.2 kB / 0.6672 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001326/0.208, allocations: 39.92 kB / 0.6672 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.208, allocations: 4 kB / 0.6672 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.992e-05/0.208, allocations: 19.94 kB / 0.6672 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.2085, allocations: 5.312 kB / 0.6672 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006381/0.2091, allocations: 344.7 kB / 0.6676 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.2095, allocations: 0.6846 MB / 0.6682 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.642e-05/0.2095, allocations: 8 kB / 0.6682 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.2095, allocations: 11.44 kB / 0.6683 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.2095, allocations: 0 / 0.6683 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of Templates: time 0.003215/0.2128, allocations: 0.6498 MB / 0.6689 GB, free: 3.562 MB / 0.4981 GB 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)