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.0015/0.0015, allocations: 97.91 kB / 16.26 MB, free: 5.934 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.001638/0.001638, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.435/1.435, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.839/0.839, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 64.08 kB / 0.4911 GB, free: 7.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3639, allocations: 77.92 MB / 0.5672 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.00237/0.3663, allocations: 1.259 MB / 0.5684 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002483/0.3688, allocations: 2.487 MB / 0.5709 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.562e-05/0.3689, allocations: 2.125 kB / 0.5709 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.3689, allocations: 4.547 kB / 0.5709 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.31e-05/0.3689, allocations: 2.594 kB / 0.5709 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.3694, allocations: 131 kB / 0.571 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.15e-05/0.3695, allocations: 42.67 kB / 0.571 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.24e-05/0.3695, allocations: 3.922 kB / 0.571 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.728e-05/0.3696, allocations: 12.42 kB / 0.571 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.468e-05/0.3696, allocations: 22.36 kB / 0.5711 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.3696, allocations: 1.531 kB / 0.5711 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002843/0.3699, allocations: 117.9 kB / 0.5712 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.37, allocations: 11.84 kB / 0.5712 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.37, allocations: 13.06 kB / 0.5712 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.3702, allocations: 84.28 kB / 0.5713 GB, free: 29.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3702, allocations: 0 / 0.5713 GB, free: 29.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3702, allocations: 0 / 0.5713 GB, free: 29.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.3702, allocations: 1.156 kB / 0.5713 GB, free: 29.85 MB / 446.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.0003118/0.3705, allocations: 362 kB / 0.5716 GB, free: 29.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.3706, allocations: 10.36 kB / 0.5716 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/0.3708, allocations: 12.12 kB / 0.5716 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.864e-05/0.3709, allocations: 162.6 kB / 0.5718 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.3709, allocations: 3.719 kB / 0.5718 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.3709, allocations: 7.562 kB / 0.5718 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.371, allocations: 73.31 kB / 0.5719 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3711, allocations: 2.344 kB / 0.5719 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.3711, allocations: 4.938 kB / 0.5719 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.3711, allocations: 1 kB / 0.5719 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.976e-05/0.3711, allocations: 13.94 kB / 0.5719 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.3716, allocations: 475.7 kB / 0.5724 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.3717, allocations: 75.58 kB / 0.5724 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.486e-05/0.3718, allocations: 24.75 kB / 0.5725 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.3718, allocations: 2.297 kB / 0.5725 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.3718, allocations: 39.89 kB / 0.5725 GB, free: 28.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3718, allocations: 0 / 0.5725 GB, free: 28.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005076/0.3723, allocations: 303.1 kB / 0.5728 GB, free: 28.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.3724, allocations: 105.4 kB / 0.5729 GB, free: 28.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.49e-05/0.3724, allocations: 101.8 kB / 0.573 GB, free: 28.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.3724, allocations: 31.27 kB / 0.573 GB, free: 28.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.606e-05/0.3725, allocations: 86.02 kB / 0.5731 GB, free: 27.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.3725, allocations: 29.5 kB / 0.5731 GB, free: 27.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.3725, allocations: 27.8 kB / 0.5731 GB, free: 27.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.249e-05/0.3726, allocations: 323 kB / 0.5735 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.667e-05/0.3726, allocations: 9.594 kB / 0.5735 GB, free: 27.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.878e-05/0.3726, allocations: 54.2 kB / 0.5735 GB, free: 27.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.841e-05/0.3727, allocations: 75.89 kB / 0.5736 GB, free: 27.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3727, allocations: 0.625 kB / 0.5736 GB, free: 27.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001196/0.3729, allocations: 100.9 kB / 0.5737 GB, free: 27.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3729, allocations: 7.141 kB / 0.5737 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3729, allocations: 1.625 kB / 0.5737 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3729, allocations: 1.812 kB / 0.5737 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/0.373, allocations: 21.56 kB / 0.5737 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.373, allocations: 5.188 kB / 0.5737 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.525e-05/0.373, allocations: 1.156 kB / 0.5737 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.3731, allocations: 5.125 kB / 0.5737 GB, free: 27.39 MB / 446.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 5.266e-05/0.3731, allocations: 124.2 kB / 0.5738 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.852e-05/0.3732, allocations: 3.031 kB / 0.5739 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.524e-05/0.3732, allocations: 10.06 kB / 0.5739 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3732, allocations: 1 kB / 0.5739 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3732, allocations: 2.969 kB / 0.5739 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3732, allocations: 0.9688 kB / 0.5739 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.3735, allocations: 187.4 kB / 0.574 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3735, allocations: 0.9375 kB / 0.574 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.284e-05/0.3736, allocations: 18.33 kB / 0.5741 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3736, allocations: 3.984 kB / 0.5741 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.3737, allocations: 1.688 kB / 0.5741 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.3737, allocations: 2.828 kB / 0.5741 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3737, allocations: 4.75 kB / 0.5741 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.3738, allocations: 330.5 kB / 0.5744 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.54e-05/0.3739, allocations: 82.78 kB / 0.5745 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.3739, allocations: 1.891 kB / 0.5745 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.3741, allocations: 4.281 kB / 0.5745 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.3741, allocations: 14.58 kB / 0.5745 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.3741, allocations: 6.438 kB / 0.5745 GB, free: 26.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.934e-05/0.3741, allocations: 80.75 kB / 0.5746 GB, free: 26.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.31e-07/0.3741, allocations: 0 / 0.5746 GB, free: 26.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003094/0.3745, allocations: 18.88 kB / 0.5746 GB, free: 26.55 MB / 446.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.0001121/0.3746, allocations: 102.8 kB / 0.5747 GB, free: 26.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001117/0.3747, allocations: 50.16 kB / 0.5747 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3747, allocations: 0 / 0.5747 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.795e-05/0.3747, allocations: 22.98 kB / 0.5748 GB, free: 26.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.3752, allocations: 10.09 kB / 0.5748 GB, free: 26.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005338/0.3757, allocations: 339.1 kB / 0.5751 GB, free: 26.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.3759, allocations: 0.6861 MB / 0.5758 GB, free: 25.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.164e-05/0.3759, allocations: 9.125 kB / 0.5758 GB, free: 25.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.981e-05/0.3759, allocations: 11.44 kB / 0.5758 GB, free: 25.5 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3759, allocations: 0 / 0.5758 GB, free: 25.5 MB / 446.1 MB Notification: Performance of Templates: time 0.002657/0.3786, allocations: 0.647 MB / 0.5764 GB, free: 25.42 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)