Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00149/0.00149, allocations: 112.5 kB / 16.41 MB, free: 6.5 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.001741/0.001741, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.782/0.782, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 69.27 kB / 0.5684 GB, free: 28.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.19, allocations: 77.93 MB / 0.6445 GB, free: 9.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.003496/0.1935, allocations: 1.241 MB / 0.6458 GB, free: 7.773 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005478/0.199, allocations: 2.508 MB / 0.6482 GB, free: 5.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.954e-05/0.1991, allocations: 0 / 0.6482 GB, free: 5.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.227e-05/0.1992, allocations: 4 kB / 0.6482 GB, free: 5.246 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.326e-05/0.1993, allocations: 7.922 kB / 0.6482 GB, free: 5.238 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009557/0.2003, allocations: 127.3 kB / 0.6483 GB, free: 5.113 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.2004, allocations: 43.83 kB / 0.6484 GB, free: 5.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.191e-05/0.2005, allocations: 0 / 0.6484 GB, free: 5.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.13e-05/0.2005, allocations: 19.92 kB / 0.6484 GB, free: 5.051 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.2007, allocations: 19.97 kB / 0.6484 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.2007, allocations: 7.938 kB / 0.6484 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000504/0.2012, allocations: 107.8 kB / 0.6485 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.794e-05/0.2013, allocations: 15.97 kB / 0.6485 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.364e-05/0.2013, allocations: 11.94 kB / 0.6486 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.2017, allocations: 91.66 kB / 0.6486 GB, free: 4.801 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2017, allocations: 0 / 0.6486 GB, free: 4.801 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2017, allocations: 0 / 0.6486 GB, free: 4.801 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.2017, allocations: 0 / 0.6486 GB, free: 4.801 MB / 494.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.0007195/0.2024, allocations: 351.3 kB / 0.649 GB, free: 4.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.2025, allocations: 19.89 kB / 0.649 GB, free: 4.391 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003374/0.2029, allocations: 8.938 kB / 0.649 GB, free: 4.383 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.2031, allocations: 164.4 kB / 0.6492 GB, free: 4.184 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.2031, allocations: 8.375 kB / 0.6492 GB, free: 4.176 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.2032, allocations: 12.33 kB / 0.6492 GB, free: 4.164 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.2034, allocations: 80.3 kB / 0.6493 GB, free: 4.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.2034, allocations: 3.938 kB / 0.6493 GB, free: 4.066 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.2035, allocations: 4 kB / 0.6493 GB, free: 4.062 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.2035, allocations: 4 kB / 0.6493 GB, free: 4.059 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.643e-05/0.2036, allocations: 8 kB / 0.6493 GB, free: 4.051 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009469/0.2045, allocations: 466.8 kB / 0.6497 GB, free: 3.531 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.2048, allocations: 79.72 kB / 0.6498 GB, free: 3.426 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.086e-05/0.2048, allocations: 18.64 kB / 0.6498 GB, free: 3.398 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.2049, allocations: 96 / 0.6498 GB, free: 3.398 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.2049, allocations: 42.55 kB / 0.6499 GB, free: 3.348 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 2.014e-06/0.2049, allocations: 4 kB / 0.6499 GB, free: 3.344 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009385/0.2059, allocations: 298.5 kB / 0.6501 GB, free: 3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.109e-05/0.206, allocations: 110.7 kB / 0.6503 GB, free: 2.867 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.2061, allocations: 97.86 kB / 0.6503 GB, free: 2.762 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.2061, allocations: 29.7 kB / 0.6504 GB, free: 2.727 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.833e-05/0.2062, allocations: 96.28 kB / 0.6505 GB, free: 2.629 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.511e-05/0.2063, allocations: 27.8 kB / 0.6505 GB, free: 2.602 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.858e-05/0.2064, allocations: 29.66 kB / 0.6505 GB, free: 2.566 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.2065, allocations: 318.8 kB / 0.6508 GB, free: 2.246 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.239e-05/0.2066, allocations: 12 kB / 0.6508 GB, free: 2.234 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.137e-05/0.2067, allocations: 49.14 kB / 0.6509 GB, free: 2.168 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.2069, allocations: 73.08 kB / 0.651 GB, free: 2.078 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2069, allocations: 0 / 0.651 GB, free: 2.078 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002579/0.2072, allocations: 101.5 kB / 0.6511 GB, free: 1.973 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.2072, allocations: 8.125 kB / 0.6511 GB, free: 1.965 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.2072, allocations: 3.938 kB / 0.6511 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.2073, allocations: 4 kB / 0.6511 GB, free: 1.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.2074, allocations: 16 kB / 0.6511 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.2075, allocations: 7.984 kB / 0.6511 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.205e-05/0.2076, allocations: 4 kB / 0.6511 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.2076, allocations: 4 kB / 0.6511 GB, free: 1.926 MB / 494.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 0.0001414/0.2077, allocations: 126.5 kB / 0.6512 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.2079, allocations: 4 kB / 0.6512 GB, free: 1.789 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.305e-05/0.2079, allocations: 11.56 kB / 0.6512 GB, free: 1.777 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.2079, allocations: 4 kB / 0.6512 GB, free: 1.773 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.208, allocations: 0 / 0.6512 GB, free: 1.773 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.208, allocations: 0 / 0.6512 GB, free: 1.773 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006147/0.2086, allocations: 177.6 kB / 0.6514 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.2086, allocations: 0 / 0.6514 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.2088, allocations: 19.98 kB / 0.6514 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.2088, allocations: 0 / 0.6514 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.2089, allocations: 8 kB / 0.6514 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.2089, allocations: 4.062 kB / 0.6514 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2089, allocations: 7.938 kB / 0.6514 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.2093, allocations: 329.9 kB / 0.6518 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.403e-05/0.2094, allocations: 77.11 kB / 0.6518 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.2094, allocations: 12.03 kB / 0.6518 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/0.2097, allocations: 8.359 kB / 0.6519 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.2098, allocations: 4 kB / 0.6519 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.2098, allocations: 7.938 kB / 0.6519 GB, free: 1.047 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.199e-05/0.2099, allocations: 91.25 kB / 0.6519 GB, free: 0.957 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.2099, allocations: 0 / 0.6519 GB, free: 0.957 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005999/0.2105, allocations: 8 kB / 0.652 GB, free: 0.9492 MB / 494.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.0001829/0.2107, allocations: 111.2 kB / 0.6521 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001886/0.2109, allocations: 43.92 kB / 0.6521 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.2109, allocations: 4 kB / 0.6521 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-05/0.211, allocations: 15.92 kB / 0.6521 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00077/0.2118, allocations: 12 kB / 0.6521 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009605/0.2128, allocations: 340 kB / 0.6525 GB, free: 400 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.2132, allocations: 0.6885 MB / 0.6531 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.972e-05/0.2133, allocations: 3.984 kB / 0.6531 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.2133, allocations: 11.44 kB / 0.6531 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of SimCode: time 6.22e-07/0.2134, allocations: 4 kB / 0.6532 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.005051/0.2184, allocations: 0.6437 MB / 0.6538 GB, free: 15.02 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)