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.001227/0.001231, allocations: 104.4 kB / 15.98 MB, free: 6.348 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.001067/0.001067, allocations: 199.1 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.338/1.338, allocations: 222.9 MB / 240.6 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7763/0.7763, allocations: 122.9 MB / 413.6 MB, free: 52 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 59.91 kB / 0.4906 GB, free: 7.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3688, allocations: 77.91 MB / 0.5667 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002726/0.3715, allocations: 1.328 MB / 0.568 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003038/0.3746, allocations: 2.474 MB / 0.5704 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.673e-05/0.3747, allocations: 0 / 0.5704 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.605e-05/0.3747, allocations: 6.828 kB / 0.5704 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.327e-05/0.3748, allocations: 2 kB / 0.5704 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006241/0.3754, allocations: 117.1 kB / 0.5705 GB, free: 30.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.483e-05/0.3755, allocations: 33.95 kB / 0.5706 GB, free: 30 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.586e-05/0.3756, allocations: 4.188 kB / 0.5706 GB, free: 30 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.464e-05/0.3757, allocations: 24.53 kB / 0.5706 GB, free: 29.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.562e-05/0.3757, allocations: 16.38 kB / 0.5706 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.3758, allocations: 2.156 kB / 0.5706 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003503/0.3761, allocations: 116.5 kB / 0.5707 GB, free: 29.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.037e-05/0.3761, allocations: 12.27 kB / 0.5707 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.894e-05/0.3762, allocations: 16.86 kB / 0.5707 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.3764, allocations: 79.66 kB / 0.5708 GB, free: 29.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3764, allocations: 3.375 kB / 0.5708 GB, free: 29.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3764, allocations: 0 / 0.5708 GB, free: 29.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.3765, allocations: 0.9844 kB / 0.5708 GB, free: 29.9 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.0004119/0.3769, allocations: 356.7 kB / 0.5712 GB, free: 29.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3769, allocations: 10.23 kB / 0.5712 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002256/0.3771, allocations: 12 kB / 0.5712 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.514e-05/0.3772, allocations: 163.8 kB / 0.5713 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.3773, allocations: 6.688 kB / 0.5713 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.3773, allocations: 8.438 kB / 0.5713 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.3774, allocations: 74.28 kB / 0.5714 GB, free: 29.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.026e-06/0.3775, allocations: 0 / 0.5714 GB, free: 29.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.3775, allocations: 2.875 kB / 0.5714 GB, free: 29.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3775, allocations: 3.938 kB / 0.5714 GB, free: 29.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.089e-05/0.3776, allocations: 18.23 kB / 0.5714 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005283/0.3781, allocations: 475.5 kB / 0.5719 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.3782, allocations: 77.33 kB / 0.572 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.623e-05/0.3783, allocations: 19.83 kB / 0.572 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.3783, allocations: 2 kB / 0.572 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.3783, allocations: 42.2 kB / 0.572 GB, free: 28.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.3783, allocations: 1.438 kB / 0.572 GB, free: 28.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006007/0.3789, allocations: 294.5 kB / 0.5723 GB, free: 28.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.379, allocations: 105.9 kB / 0.5724 GB, free: 28.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.795e-05/0.379, allocations: 101 kB / 0.5725 GB, free: 28.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.3791, allocations: 30.61 kB / 0.5725 GB, free: 28.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.118e-05/0.3791, allocations: 86.33 kB / 0.5726 GB, free: 27.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.3791, allocations: 31.34 kB / 0.5727 GB, free: 27.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.3792, allocations: 27.41 kB / 0.5727 GB, free: 27.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.409e-05/0.3793, allocations: 322.2 kB / 0.573 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.313e-05/0.3793, allocations: 14.73 kB / 0.573 GB, free: 27.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.061e-05/0.3793, allocations: 58.38 kB / 0.5731 GB, free: 27.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.704e-05/0.3794, allocations: 76.02 kB / 0.5731 GB, free: 27.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3794, allocations: 0.9375 kB / 0.5731 GB, free: 27.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001367/0.3796, allocations: 94.45 kB / 0.5732 GB, free: 27.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3796, allocations: 6.312 kB / 0.5732 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3796, allocations: 1.984 kB / 0.5732 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.3796, allocations: 2.281 kB / 0.5732 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.099e-05/0.3797, allocations: 19.39 kB / 0.5732 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.3798, allocations: 7.688 kB / 0.5733 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.034e-05/0.3798, allocations: 11.16 kB / 0.5733 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.3798, allocations: 4.938 kB / 0.5733 GB, free: 27.43 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 7.195e-05/0.3799, allocations: 117.7 kB / 0.5734 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/0.38, allocations: 4.578 kB / 0.5734 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.166e-05/0.38, allocations: 10.61 kB / 0.5734 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.38, allocations: 1.469 kB / 0.5734 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.38, allocations: 4.922 kB / 0.5734 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.38, allocations: 0 / 0.5734 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.3803, allocations: 182.5 kB / 0.5736 GB, free: 27.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3804, allocations: 0.6562 kB / 0.5736 GB, free: 27.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.754e-05/0.3804, allocations: 20.42 kB / 0.5736 GB, free: 27.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3805, allocations: 1.062 kB / 0.5736 GB, free: 27.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.3805, allocations: 5.75 kB / 0.5736 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.3805, allocations: 1.531 kB / 0.5736 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.3805, allocations: 2.641 kB / 0.5736 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.3807, allocations: 333.4 kB / 0.5739 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.3808, allocations: 83.78 kB / 0.574 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.3808, allocations: 5.875 kB / 0.574 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.381, allocations: 6.062 kB / 0.574 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.161e-05/0.381, allocations: 8.094 kB / 0.574 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.381, allocations: 5.922 kB / 0.574 GB, free: 26.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.513e-05/0.3811, allocations: 83.69 kB / 0.5741 GB, free: 26.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3811, allocations: 0 / 0.5741 GB, free: 26.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003258/0.3814, allocations: 12.88 kB / 0.5741 GB, free: 26.61 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.0001416/0.3816, allocations: 106.5 kB / 0.5742 GB, free: 26.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001522/0.3817, allocations: 48.89 kB / 0.5743 GB, free: 26.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.3818, allocations: 1.875 kB / 0.5743 GB, free: 26.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.777e-05/0.3818, allocations: 25.91 kB / 0.5743 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/0.3823, allocations: 5.562 kB / 0.5743 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006922/0.383, allocations: 357.7 kB / 0.5746 GB, free: 26.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.3832, allocations: 0.6866 MB / 0.5753 GB, free: 25.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.07e-05/0.3833, allocations: 13.77 kB / 0.5753 GB, free: 25.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.3833, allocations: 11.78 kB / 0.5753 GB, free: 25.52 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3833, allocations: 0 / 0.5753 GB, free: 25.52 MB / 446.1 MB Notification: Performance of Templates: time 0.003412/0.3867, allocations: 0.6382 MB / 0.576 GB, free: 25.45 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)