Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.005768/0.005768, allocations: 101 kB / 15.73 MB, free: 5.992 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.001093/0.001093, allocations: 196.2 kB / 16.67 MB, free: 5.93 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002033/0.002033, allocations: 267.1 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9577/0.9577, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 96.27 kB / 0.6814 GB, free: 15.55 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1672, allocations: 86.98 MB / 0.7664 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002139/0.1693, allocations: 1.274 MB / 0.7676 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002866/0.1722, allocations: 2.484 MB / 0.77 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.558e-05/0.1722, allocations: 0 / 0.77 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.863e-05/0.1723, allocations: 7.922 kB / 0.77 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.025e-05/0.1723, allocations: 7.922 kB / 0.77 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005469/0.1729, allocations: 131.3 kB / 0.7702 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.654e-05/0.173, allocations: 35.92 kB / 0.7702 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.936e-05/0.173, allocations: 3.938 kB / 0.7702 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.872e-05/0.1731, allocations: 31.84 kB / 0.7702 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.698e-05/0.1732, allocations: 11.92 kB / 0.7703 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.1732, allocations: 4 kB / 0.7703 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002837/0.1735, allocations: 115.8 kB / 0.7704 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.1735, allocations: 8 kB / 0.7704 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.298e-05/0.1735, allocations: 19.94 kB / 0.7704 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.1738, allocations: 83.77 kB / 0.7705 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1738, allocations: 3.984 kB / 0.7705 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1738, allocations: 0 / 0.7705 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.1738, allocations: 0 / 0.7705 GB, free: 4.258 MB / 0.5606 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.000421/0.1742, allocations: 351.4 kB / 0.7708 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1743, allocations: 8.031 kB / 0.7708 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002145/0.1745, allocations: 12.92 kB / 0.7708 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.1746, allocations: 172.3 kB / 0.771 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1746, allocations: 384 / 0.771 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.1747, allocations: 8.375 kB / 0.771 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.1748, allocations: 76.38 kB / 0.7711 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1748, allocations: 0 / 0.7711 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.1748, allocations: 4 kB / 0.7711 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1749, allocations: 0 / 0.7711 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.35e-05/0.1749, allocations: 15.92 kB / 0.7711 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005824/0.1755, allocations: 466.8 kB / 0.7715 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.1756, allocations: 75.75 kB / 0.7716 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.548e-05/0.1757, allocations: 26.64 kB / 0.7716 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.253e-06/0.1757, allocations: 0 / 0.7716 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.1757, allocations: 34.56 kB / 0.7717 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.1757, allocations: 0 / 0.7717 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.000602/0.1763, allocations: 310.6 kB / 0.772 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/0.1764, allocations: 110.8 kB / 0.7721 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.608e-05/0.1765, allocations: 105.8 kB / 0.7722 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.1765, allocations: 25.7 kB / 0.7722 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/0.1766, allocations: 88.05 kB / 0.7723 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.1766, allocations: 27.64 kB / 0.7723 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.1766, allocations: 25.7 kB / 0.7723 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.766e-05/0.1767, allocations: 322.8 kB / 0.7726 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-05/0.1768, allocations: 15.98 kB / 0.7727 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.532e-05/0.1768, allocations: 53.08 kB / 0.7727 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.033e-05/0.1769, allocations: 77.09 kB / 0.7728 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1769, allocations: 0 / 0.7728 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001313/0.177, allocations: 97.45 kB / 0.7729 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1771, allocations: 4 kB / 0.7729 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1771, allocations: 7.938 kB / 0.7729 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1771, allocations: 0 / 0.7729 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-05/0.1772, allocations: 32.05 kB / 0.7729 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1772, allocations: 0 / 0.7729 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.677e-05/0.1772, allocations: 8.062 kB / 0.7729 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1772, allocations: 4 kB / 0.7729 GB, free: 1.383 MB / 0.5606 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 7.267e-05/0.1773, allocations: 113.8 kB / 0.773 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.865e-05/0.1774, allocations: 8 kB / 0.773 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.693e-05/0.1774, allocations: 15.55 kB / 0.7731 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1774, allocations: 0 / 0.7731 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1774, allocations: 0 / 0.7731 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1774, allocations: 4 kB / 0.7731 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.1778, allocations: 177.6 kB / 0.7732 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1778, allocations: 0 / 0.7732 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.935e-05/0.1779, allocations: 15.94 kB / 0.7732 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1779, allocations: 0 / 0.7732 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1779, allocations: 7.938 kB / 0.7733 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1779, allocations: 3.984 kB / 0.7733 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1779, allocations: 0 / 0.7733 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.1781, allocations: 333.9 kB / 0.7736 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/0.1782, allocations: 89.08 kB / 0.7737 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.1782, allocations: 0 / 0.7737 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.1784, allocations: 8 kB / 0.7737 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.183e-05/0.1784, allocations: 7.984 kB / 0.7737 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.1784, allocations: 3.938 kB / 0.7737 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.255e-05/0.1785, allocations: 79.66 kB / 0.7738 GB, free: 452 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1785, allocations: 4 kB / 0.7738 GB, free: 448 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003141/0.1788, allocations: 16 kB / 0.7738 GB, free: 432 kB / 0.5606 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.0001157/0.1789, allocations: 115.3 kB / 0.7739 GB, free: 304 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.179, allocations: 39.92 kB / 0.7739 GB, free: 264 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.179, allocations: 0 / 0.7739 GB, free: 264 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.464e-05/0.1791, allocations: 20.31 kB / 0.7739 GB, free: 244 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.1795, allocations: 15.94 kB / 0.774 GB, free: 228 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.335/0.5145, allocations: 325.9 kB / 0.7743 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.5147, allocations: 0.6867 MB / 0.7749 GB, free: 15 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.052e-05/0.5148, allocations: 7.609 kB / 0.7749 GB, free: 15 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.5148, allocations: 10.81 kB / 0.775 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of SimCode: time 7.32e-07/0.5148, allocations: 1.219 kB / 0.775 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of Templates: time 0.003346/0.5182, allocations: 0.6488 MB / 0.7756 GB, free: 14.99 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)