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.001147/0.001147, allocations: 105.6 kB / 15.98 MB, free: 6.34 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.001161/0.001161, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.18/1.18, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001969/0.001969, allocations: 284.7 kB / 291 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8638/0.8638, allocations: 169.2 MB / 0.4985 GB, free: 4.656 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001574, allocations: 89.31 kB / 0.5953 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1445, allocations: 86.98 MB / 0.6803 GB, free: 8.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002097/0.1466, allocations: 1.327 MB / 0.6816 GB, free: 7.238 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.1492, allocations: 2.469 MB / 0.684 GB, free: 4.758 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.768e-05/0.1492, allocations: 3.938 kB / 0.684 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.759e-05/0.1492, allocations: 3.938 kB / 0.684 GB, free: 4.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.649e-05/0.1493, allocations: 3.984 kB / 0.684 GB, free: 4.746 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004575/0.1498, allocations: 115.5 kB / 0.6841 GB, free: 4.633 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.868e-05/0.1498, allocations: 47.78 kB / 0.6841 GB, free: 4.586 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.297e-05/0.1499, allocations: 0 / 0.6841 GB, free: 4.586 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.61e-05/0.1499, allocations: 16 kB / 0.6842 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.907e-05/0.15, allocations: 15.91 kB / 0.6842 GB, free: 4.555 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.15, allocations: 4 kB / 0.6842 GB, free: 4.551 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000243/0.1502, allocations: 119.7 kB / 0.6843 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.1503, allocations: 8 kB / 0.6843 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/0.1503, allocations: 19.92 kB / 0.6843 GB, free: 4.406 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.1504, allocations: 56.14 kB / 0.6844 GB, free: 4.352 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1504, allocations: 8 kB / 0.6844 GB, free: 4.344 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1504, allocations: 0 / 0.6844 GB, free: 4.344 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.1504, allocations: 0 / 0.6844 GB, free: 4.344 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.0003471/0.1508, allocations: 343.5 kB / 0.6847 GB, free: 3.961 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.1508, allocations: 12.03 kB / 0.6847 GB, free: 3.949 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/0.151, allocations: 16.88 kB / 0.6847 GB, free: 3.934 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.391e-05/0.1511, allocations: 168.3 kB / 0.6849 GB, free: 3.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1511, allocations: 4.375 kB / 0.6849 GB, free: 3.727 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.1512, allocations: 8.375 kB / 0.6849 GB, free: 3.719 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.1513, allocations: 76.31 kB / 0.685 GB, free: 3.629 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.1513, allocations: 0 / 0.685 GB, free: 3.629 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.1513, allocations: 4 kB / 0.685 GB, free: 3.625 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1513, allocations: 4 kB / 0.685 GB, free: 3.621 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.476e-05/0.1514, allocations: 7.938 kB / 0.685 GB, free: 3.613 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.1519, allocations: 466.9 kB / 0.6854 GB, free: 3.094 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.152, allocations: 75.7 kB / 0.6855 GB, free: 2.992 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.627e-05/0.1521, allocations: 26.64 kB / 0.6855 GB, free: 2.957 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.1521, allocations: 4 kB / 0.6855 GB, free: 2.953 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.1521, allocations: 42.58 kB / 0.6856 GB, free: 2.902 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1521, allocations: 0 / 0.6856 GB, free: 2.902 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.000522/0.1526, allocations: 310.1 kB / 0.6859 GB, free: 2.547 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.1527, allocations: 107.1 kB / 0.686 GB, free: 2.418 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.712e-05/0.1528, allocations: 101.8 kB / 0.6861 GB, free: 2.309 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.1528, allocations: 25.7 kB / 0.6861 GB, free: 2.277 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.1528, allocations: 88.05 kB / 0.6862 GB, free: 2.188 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.1529, allocations: 27.64 kB / 0.6862 GB, free: 2.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.1529, allocations: 25.62 kB / 0.6862 GB, free: 2.129 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.294e-05/0.153, allocations: 322.8 kB / 0.6865 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.429e-05/0.153, allocations: 12 kB / 0.6866 GB, free: 1.793 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.124e-05/0.1531, allocations: 61.08 kB / 0.6866 GB, free: 1.715 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.562e-05/0.1532, allocations: 77.02 kB / 0.6867 GB, free: 1.621 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1532, allocations: 0 / 0.6867 GB, free: 1.621 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001232/0.1533, allocations: 93.55 kB / 0.6868 GB, free: 1.523 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1533, allocations: 4 kB / 0.6868 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1533, allocations: 3.938 kB / 0.6868 GB, free: 1.516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1534, allocations: 4 kB / 0.6868 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.309e-05/0.1534, allocations: 20 kB / 0.6868 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.1535, allocations: 7.984 kB / 0.6868 GB, free: 1.484 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.254e-05/0.1535, allocations: 128 / 0.6868 GB, free: 1.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.1535, allocations: 8 kB / 0.6868 GB, free: 1.477 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 6.916e-05/0.1536, allocations: 121.7 kB / 0.6869 GB, free: 1.348 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.1536, allocations: 7.906 kB / 0.687 GB, free: 1.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.1537, allocations: 8.172 kB / 0.687 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.1537, allocations: 0 / 0.687 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1537, allocations: 4 kB / 0.687 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1537, allocations: 0 / 0.687 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.154, allocations: 177.6 kB / 0.6871 GB, free: 1.102 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.154, allocations: 0 / 0.6871 GB, free: 1.102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.077e-05/0.1541, allocations: 23.98 kB / 0.6872 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1541, allocations: 3.984 kB / 0.6872 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.1541, allocations: 0 / 0.6872 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.668e-06/0.1541, allocations: 4 kB / 0.6872 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1541, allocations: 3.938 kB / 0.6872 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.1543, allocations: 334 kB / 0.6875 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.1544, allocations: 85.02 kB / 0.6876 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.1544, allocations: 8.031 kB / 0.6876 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.1546, allocations: 4.062 kB / 0.6876 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.303e-05/0.1546, allocations: 4 kB / 0.6876 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.1546, allocations: 11.94 kB / 0.6876 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.129e-05/0.1547, allocations: 83.27 kB / 0.6877 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.312e-06/0.1547, allocations: 0 / 0.6877 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002955/0.155, allocations: 15.94 kB / 0.6877 GB, free: 0.4961 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.0001135/0.1551, allocations: 107.2 kB / 0.6878 GB, free: 388 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.1552, allocations: 47.92 kB / 0.6878 GB, free: 340 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1552, allocations: 0 / 0.6878 GB, free: 340 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.508e-05/0.1553, allocations: 23.92 kB / 0.6879 GB, free: 316 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.1557, allocations: 9.016 kB / 0.6879 GB, free: 308 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2302/0.3859, allocations: 365.7 kB / 0.6882 GB, free: 18.88 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.386, allocations: 0.6876 MB / 0.6889 GB, free: 18.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.3861, allocations: 11.31 kB / 0.6889 GB, free: 18.17 MB / 494.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3861, allocations: 4.359 kB / 0.6889 GB, free: 18.17 MB / 494.1 MB Notification: Performance of Templates: time 0.002238/0.3883, allocations: 0.7885 MB / 0.6897 GB, free: 18.17 MB / 494.1 MB 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)