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.001253/0.001253, allocations: 107.4 kB / 16.36 MB, free: 5.824 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.001044/0.001044, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.267/1.267, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0021/0.0021, allocations: 288.2 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9101/0.9101, allocations: 169.3 MB / 0.4989 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 100.3 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1539, allocations: 86.97 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.00212/0.156, allocations: 1.266 MB / 0.6828 GB, free: 6.176 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002678/0.1587, allocations: 2.484 MB / 0.6853 GB, free: 3.68 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.1588, allocations: 3.938 kB / 0.6853 GB, free: 3.676 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.1588, allocations: 3.938 kB / 0.6853 GB, free: 3.672 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.708e-05/0.1588, allocations: 3.938 kB / 0.6853 GB, free: 3.668 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004548/0.1593, allocations: 131.4 kB / 0.6854 GB, free: 3.539 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.177e-05/0.1594, allocations: 35.86 kB / 0.6854 GB, free: 3.504 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.345e-05/0.1594, allocations: 11.95 kB / 0.6854 GB, free: 3.492 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.849e-05/0.1595, allocations: 16 kB / 0.6855 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.173e-05/0.1595, allocations: 11.92 kB / 0.6855 GB, free: 3.465 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.1595, allocations: 4 kB / 0.6855 GB, free: 3.461 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002604/0.1598, allocations: 119.7 kB / 0.6856 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.1598, allocations: 8 kB / 0.6856 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.1599, allocations: 23.91 kB / 0.6856 GB, free: 3.312 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.1601, allocations: 83.78 kB / 0.6857 GB, free: 3.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1601, allocations: 0 / 0.6857 GB, free: 3.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1601, allocations: 0 / 0.6857 GB, free: 3.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1601, allocations: 0 / 0.6857 GB, free: 3.23 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.0003481/0.1604, allocations: 351.5 kB / 0.686 GB, free: 2.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.1605, allocations: 8.031 kB / 0.686 GB, free: 2.832 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001949/0.1607, allocations: 12.92 kB / 0.6861 GB, free: 2.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.692e-05/0.1608, allocations: 168.3 kB / 0.6862 GB, free: 2.617 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1608, allocations: 12.31 kB / 0.6862 GB, free: 2.605 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.1608, allocations: 4.375 kB / 0.6862 GB, free: 2.602 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.1609, allocations: 72.38 kB / 0.6863 GB, free: 2.516 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.161, allocations: 0 / 0.6863 GB, free: 2.516 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.161, allocations: 0 / 0.6863 GB, free: 2.516 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.161, allocations: 4 kB / 0.6863 GB, free: 2.512 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.677e-05/0.161, allocations: 11.92 kB / 0.6863 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.1616, allocations: 470.9 kB / 0.6868 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.1617, allocations: 75.72 kB / 0.6868 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.694e-05/0.1617, allocations: 22.64 kB / 0.6869 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.377e-06/0.1618, allocations: 3.938 kB / 0.6869 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.1618, allocations: 38.56 kB / 0.6869 GB, free: 1.793 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.1618, allocations: 3.938 kB / 0.6869 GB, free: 1.789 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005481/0.1623, allocations: 310.3 kB / 0.6872 GB, free: 1.434 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.1624, allocations: 102.8 kB / 0.6873 GB, free: 1.309 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.766e-05/0.1625, allocations: 101.8 kB / 0.6874 GB, free: 1.199 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.1625, allocations: 29.7 kB / 0.6874 GB, free: 1.164 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.1625, allocations: 88.05 kB / 0.6875 GB, free: 1.074 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.1626, allocations: 27.64 kB / 0.6875 GB, free: 1.047 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.1626, allocations: 25.62 kB / 0.6876 GB, free: 1.016 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.693e-05/0.1627, allocations: 322.8 kB / 0.6879 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.326e-05/0.1627, allocations: 15.98 kB / 0.6879 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.503e-05/0.1628, allocations: 57.02 kB / 0.6879 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.721e-05/0.1629, allocations: 69.61 kB / 0.688 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1629, allocations: 4 kB / 0.688 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001366/0.163, allocations: 97.53 kB / 0.6881 GB, free: 420 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.163, allocations: 4 kB / 0.6881 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1631, allocations: 4 kB / 0.6881 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.1631, allocations: 0 / 0.6881 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.673e-05/0.1631, allocations: 19.98 kB / 0.6881 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.1632, allocations: 12.06 kB / 0.6881 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.491e-05/0.1632, allocations: 0 / 0.6881 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1632, allocations: 8 kB / 0.6881 GB, free: 372 kB / 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.605e-05/0.1633, allocations: 117.8 kB / 0.6883 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.178e-05/0.1634, allocations: 11.89 kB / 0.6883 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.576e-05/0.1634, allocations: 7.562 kB / 0.6883 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1634, allocations: 4 kB / 0.6883 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1634, allocations: 0 / 0.6883 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1634, allocations: 0 / 0.6883 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2535/0.4169, allocations: 177.6 kB / 0.6884 GB, free: 18.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.4169, allocations: 0.9688 kB / 0.6884 GB, free: 18.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.4171, allocations: 20.48 kB / 0.6885 GB, free: 18.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.4171, allocations: 1.375 kB / 0.6885 GB, free: 18.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.4171, allocations: 1.656 kB / 0.6885 GB, free: 18.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.4171, allocations: 1.844 kB / 0.6885 GB, free: 18.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4171, allocations: 0.875 kB / 0.6885 GB, free: 18.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.4174, allocations: 327.8 kB / 0.6888 GB, free: 17.95 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.4174, allocations: 87.14 kB / 0.6889 GB, free: 17.86 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.4175, allocations: 3.25 kB / 0.6889 GB, free: 17.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.4177, allocations: 4.375 kB / 0.6889 GB, free: 17.86 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.999e-05/0.4177, allocations: 9.703 kB / 0.6889 GB, free: 17.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.4177, allocations: 6.078 kB / 0.6889 GB, free: 17.86 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.429e-05/0.4177, allocations: 81.77 kB / 0.689 GB, free: 17.79 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.4177, allocations: 0 / 0.689 GB, free: 17.79 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000405/0.4181, allocations: 16.34 kB / 0.689 GB, free: 17.79 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.0001191/0.4183, allocations: 105.7 kB / 0.6891 GB, free: 17.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.4184, allocations: 48.27 kB / 0.6891 GB, free: 17.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4184, allocations: 1.531 kB / 0.6891 GB, free: 17.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.813e-05/0.4185, allocations: 19.47 kB / 0.6891 GB, free: 17.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.4189, allocations: 11.89 kB / 0.6892 GB, free: 17.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005142/0.4194, allocations: 351.7 kB / 0.6895 GB, free: 17.51 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.4195, allocations: 0.6845 MB / 0.6902 GB, free: 16.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.472e-05/0.4196, allocations: 10.53 kB / 0.6902 GB, free: 16.81 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.039e-05/0.4196, allocations: 10.06 kB / 0.6902 GB, free: 16.8 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4196, allocations: 0 / 0.6902 GB, free: 16.8 MB / 494.1 MB Notification: Performance of Templates: time 0.002865/0.4225, allocations: 0.6448 MB / 0.6908 GB, free: 16.77 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)