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.001001/0.001001, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009559/0.000956, allocations: 177.1 kB / 16.91 MB, free: 6.645 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.468/1.468, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7501/0.7501, allocations: 115.5 MB / 407.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003317, allocations: 8 kB / 495.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1756, allocations: 77.52 MB / 0.5599 GB, free: 9.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001653/0.1773, allocations: 0.9886 MB / 0.5609 GB, free: 8.027 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003359/0.1807, allocations: 2.472 MB / 0.5633 GB, free: 5.543 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.194e-05/0.1808, allocations: 0 / 0.5633 GB, free: 5.543 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.1808, allocations: 0 / 0.5633 GB, free: 5.543 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.299e-05/0.1809, allocations: 0 / 0.5633 GB, free: 5.543 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006738/0.1816, allocations: 119.5 kB / 0.5634 GB, free: 5.426 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.295e-05/0.1817, allocations: 43.89 kB / 0.5635 GB, free: 5.383 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.669e-05/0.1817, allocations: 0 / 0.5635 GB, free: 5.383 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.461e-05/0.1818, allocations: 15.94 kB / 0.5635 GB, free: 5.367 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.089e-05/0.1818, allocations: 15.97 kB / 0.5635 GB, free: 5.352 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.1818, allocations: 4 kB / 0.5635 GB, free: 5.348 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003356/0.1822, allocations: 111.7 kB / 0.5636 GB, free: 5.238 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.1822, allocations: 11.92 kB / 0.5636 GB, free: 5.227 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.33e-05/0.1823, allocations: 41.69 kB / 0.5637 GB, free: 5.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.1825, allocations: 88.06 kB / 0.5637 GB, free: 5.094 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1825, allocations: 0 / 0.5637 GB, free: 5.094 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1825, allocations: 0 / 0.5637 GB, free: 5.094 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1825, allocations: 0 / 0.5637 GB, free: 5.094 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.0004084/0.1829, allocations: 337.4 kB / 0.5641 GB, free: 4.719 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.183, allocations: 8.031 kB / 0.5641 GB, free: 4.711 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002433/0.1832, allocations: 16.83 kB / 0.5641 GB, free: 4.695 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.1834, allocations: 172.3 kB / 0.5643 GB, free: 4.488 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.1834, allocations: 4.375 kB / 0.5643 GB, free: 4.484 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.1834, allocations: 8.375 kB / 0.5643 GB, free: 4.477 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.1836, allocations: 72.38 kB / 0.5643 GB, free: 4.391 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.1836, allocations: 0 / 0.5643 GB, free: 4.391 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.1836, allocations: 7.938 kB / 0.5643 GB, free: 4.383 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1836, allocations: 0 / 0.5643 GB, free: 4.383 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.544e-05/0.1837, allocations: 15.92 kB / 0.5644 GB, free: 4.367 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006151/0.1843, allocations: 474.8 kB / 0.5648 GB, free: 3.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.1844, allocations: 67.75 kB / 0.5649 GB, free: 3.746 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.1845, allocations: 34.64 kB / 0.5649 GB, free: 3.703 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.1845, allocations: 0 / 0.5649 GB, free: 3.703 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.1845, allocations: 30.56 kB / 0.5649 GB, free: 3.664 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1845, allocations: 0 / 0.5649 GB, free: 3.664 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007583/0.1853, allocations: 306.4 kB / 0.5652 GB, free: 3.312 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/0.1854, allocations: 102.8 kB / 0.5653 GB, free: 3.188 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.1855, allocations: 110.1 kB / 0.5654 GB, free: 3.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1855, allocations: 25.7 kB / 0.5655 GB, free: 3.039 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.78e-05/0.1856, allocations: 84.05 kB / 0.5655 GB, free: 2.953 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.1856, allocations: 27.56 kB / 0.5656 GB, free: 2.926 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.1857, allocations: 21.7 kB / 0.5656 GB, free: 2.898 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1859, allocations: 326.8 kB / 0.5659 GB, free: 2.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.345e-05/0.1859, allocations: 19.98 kB / 0.5659 GB, free: 2.551 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.347e-05/0.186, allocations: 49.08 kB / 0.566 GB, free: 2.484 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.705e-05/0.1861, allocations: 73.09 kB / 0.566 GB, free: 2.395 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1861, allocations: 0 / 0.566 GB, free: 2.395 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001657/0.1863, allocations: 93.55 kB / 0.5661 GB, free: 2.297 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.1863, allocations: 9.875 kB / 0.5661 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.1863, allocations: 0 / 0.5661 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.1863, allocations: 4 kB / 0.5661 GB, free: 2.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.446e-05/0.1864, allocations: 23.92 kB / 0.5662 GB, free: 2.262 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1864, allocations: 128 / 0.5662 GB, free: 2.262 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.218e-05/0.1865, allocations: 8.062 kB / 0.5662 GB, free: 2.254 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.1865, allocations: 12 kB / 0.5662 GB, free: 2.242 MB / 430.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 9.495e-05/0.1866, allocations: 113.8 kB / 0.5663 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.031e-05/0.1867, allocations: 7.906 kB / 0.5663 GB, free: 2.113 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/0.1867, allocations: 15.55 kB / 0.5663 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1867, allocations: 0 / 0.5663 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1868, allocations: 0 / 0.5663 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.1868, allocations: 4 kB / 0.5663 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/0.1872, allocations: 177.5 kB / 0.5665 GB, free: 1.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.1872, allocations: 4 kB / 0.5665 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.707e-05/0.1873, allocations: 12 kB / 0.5665 GB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.1873, allocations: 4 kB / 0.5665 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1873, allocations: 3.984 kB / 0.5665 GB, free: 1.852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.1873, allocations: 0 / 0.5665 GB, free: 1.852 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1873, allocations: 4 kB / 0.5665 GB, free: 1.848 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.1876, allocations: 333.9 kB / 0.5668 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.654e-05/0.1877, allocations: 89.05 kB / 0.5669 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.1877, allocations: 0 / 0.5669 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.1879, allocations: 8 kB / 0.5669 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.762e-05/0.188, allocations: 7.984 kB / 0.5669 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.188, allocations: 7.938 kB / 0.5669 GB, free: 1.375 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.885e-05/0.188, allocations: 75.28 kB / 0.567 GB, free: 1.301 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.188, allocations: 0 / 0.567 GB, free: 1.301 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003335/0.1884, allocations: 20 kB / 0.567 GB, free: 1.281 MB / 430.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.0001723/0.1886, allocations: 107.8 kB / 0.5671 GB, free: 1.164 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.1887, allocations: 47.94 kB / 0.5672 GB, free: 1.117 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1887, allocations: 0 / 0.5672 GB, free: 1.117 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.841e-05/0.1887, allocations: 19.94 kB / 0.5672 GB, free: 1.098 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.1892, allocations: 8.375 kB / 0.5672 GB, free: 1.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006937/0.1899, allocations: 412.1 kB / 0.5676 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.1903, allocations: 0.6809 MB / 0.5683 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.698e-05/0.1903, allocations: 8 kB / 0.5683 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.1904, allocations: 11.44 kB / 0.5683 GB, free: 15.93 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1904, allocations: 0 / 0.5683 GB, free: 15.93 MB / 446.1 MB Notification: Performance of Templates: time 0.002967/0.1933, allocations: 0.61 MB / 0.5689 GB, free: 15.34 MB / 446.1 MB 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)