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.001093/0.001093, allocations: 108.3 kB / 15.99 MB, free: 5.895 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.001209/0.001209, allocations: 193.4 kB / 16.91 MB, free: 5.746 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.32/1.32, allocations: 222.9 MB / 240.6 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002418/0.002418, allocations: 291 kB / 291 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9992/0.9992, allocations: 178.6 MB / 0.5076 GB, free: 4.723 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002621/0.002621, allocations: 99.84 kB / 0.6066 GB, free: 24.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1481, allocations: 89.15 MB / 0.6936 GB, free: 4.715 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002338/0.1505, allocations: 1.325 MB / 0.6949 GB, free: 3.387 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002846/0.1534, allocations: 2.484 MB / 0.6974 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.718e-05/0.1534, allocations: 0 / 0.6974 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.637e-05/0.1534, allocations: 0 / 0.6974 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.731e-05/0.1535, allocations: 3.938 kB / 0.6974 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004384/0.1539, allocations: 111.5 kB / 0.6975 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.56e-05/0.154, allocations: 47.78 kB / 0.6975 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.987e-05/0.154, allocations: 7.984 kB / 0.6975 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.572e-05/0.154, allocations: 12 kB / 0.6975 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.933e-05/0.1541, allocations: 19.91 kB / 0.6975 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.1541, allocations: 4 kB / 0.6975 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000248/0.1544, allocations: 111.8 kB / 0.6977 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.1544, allocations: 15.92 kB / 0.6977 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.735e-05/0.1544, allocations: 15.92 kB / 0.6977 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.1546, allocations: 60.14 kB / 0.6977 GB, free: 500 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1546, allocations: 0 / 0.6977 GB, free: 500 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1546, allocations: 0 / 0.6977 GB, free: 500 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.1546, allocations: 7.938 kB / 0.6978 GB, free: 492 kB / 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.0003865/0.155, allocations: 347.5 kB / 0.6981 GB, free: 96 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.155, allocations: 16.02 kB / 0.6981 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.1552, allocations: 16.84 kB / 0.6981 GB, free: 64 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.1553, allocations: 160.4 kB / 0.6983 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.1554, allocations: 4.375 kB / 0.6983 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.1554, allocations: 8.359 kB / 0.6983 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.1555, allocations: 76.33 kB / 0.6984 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.1555, allocations: 0 / 0.6984 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.1556, allocations: 0 / 0.6984 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.1556, allocations: 0 / 0.6984 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.448e-05/0.1556, allocations: 15.98 kB / 0.6984 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000557/0.1562, allocations: 474.8 kB / 0.6988 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.1563, allocations: 71.78 kB / 0.6989 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.216e-05/0.1563, allocations: 26.58 kB / 0.6989 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.1564, allocations: 4 kB / 0.6989 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.1564, allocations: 34.56 kB / 0.699 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1564, allocations: 0 / 0.699 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005526/0.157, allocations: 306.2 kB / 0.6992 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.157, allocations: 107 kB / 0.6993 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.646e-05/0.1571, allocations: 101.8 kB / 0.6994 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1571, allocations: 29.7 kB / 0.6995 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.1572, allocations: 88.05 kB / 0.6996 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.1572, allocations: 31.53 kB / 0.6996 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.1573, allocations: 25.72 kB / 0.6996 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1574, allocations: 318.8 kB / 0.6999 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.856e-05/0.1574, allocations: 15.98 kB / 0.6999 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.269e-05/0.1575, allocations: 57.14 kB / 0.7 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.568e-05/0.1576, allocations: 69.59 kB / 0.7 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1576, allocations: 4 kB / 0.7001 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001255/0.1577, allocations: 93.48 kB / 0.7001 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1578, allocations: 8 kB / 0.7001 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1578, allocations: 7.922 kB / 0.7002 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.1578, allocations: 4 kB / 0.7002 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.568e-05/0.1579, allocations: 16 kB / 0.7002 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1579, allocations: 3.984 kB / 0.7002 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.778e-05/0.1579, allocations: 11.91 kB / 0.7002 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.1579, allocations: 4 kB / 0.7002 GB, free: 13.61 MB / 0.4981 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 8.243e-05/0.158, allocations: 129.8 kB / 0.7003 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.1581, allocations: 4 kB / 0.7003 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.411e-05/0.1582, allocations: 7.562 kB / 0.7003 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1582, allocations: 0 / 0.7003 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1582, allocations: 7.938 kB / 0.7003 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1582, allocations: 0 / 0.7003 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003356/0.1585, allocations: 177.6 kB / 0.7005 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1585, allocations: 0 / 0.7005 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.427e-05/0.1586, allocations: 19.98 kB / 0.7005 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1586, allocations: 4 kB / 0.7005 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.1586, allocations: 0 / 0.7005 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.1586, allocations: 4 kB / 0.7005 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1586, allocations: 0 / 0.7005 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.1589, allocations: 333.9 kB / 0.7009 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.159, allocations: 81.11 kB / 0.7009 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.159, allocations: 12.06 kB / 0.7009 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.1592, allocations: 4.031 kB / 0.7009 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.1592, allocations: 4 kB / 0.7009 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.1592, allocations: 11.94 kB / 0.701 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.235e-05/0.1593, allocations: 75.28 kB / 0.701 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1593, allocations: 0 / 0.701 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003033/0.1596, allocations: 16 kB / 0.701 GB, free: 12.65 MB / 0.4981 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.0001172/0.1597, allocations: 115.2 kB / 0.7012 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001091/0.1598, allocations: 47.92 kB / 0.7012 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1598, allocations: 0 / 0.7012 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.75e-05/0.1598, allocations: 19.94 kB / 0.7012 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.1602, allocations: 7.984 kB / 0.7012 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006046/0.1608, allocations: 387.5 kB / 0.7016 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.1612, allocations: 0.6845 MB / 0.7023 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.1612, allocations: 11.44 kB / 0.7023 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1612, allocations: 0 / 0.7023 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of Templates: time 0.002093/0.1633, allocations: 0.7852 MB / 0.703 GB, free: 10.53 MB / 0.4981 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)