Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.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.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck") translateModel(IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000847/0.000847, allocations: 93.72 kB / 16.67 MB, free: 6.594 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.0009333/0.0009335, allocations: 182.5 kB / 17.58 MB, free: 6.188 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.331/1.331, allocations: 223.3 MB / 241.6 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7399/0.7399, allocations: 115.5 MB / 408.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003537, allocations: 8 kB / 496.5 MB, free: 15.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3678, allocations: 77.52 MB / 0.5606 GB, free: 36.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.001175/0.369, allocations: 0.983 MB / 0.5615 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003263/0.3723, allocations: 3.189 MB / 0.5646 GB, free: 33.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.178e-05/0.3724, allocations: 1.438 kB / 0.5646 GB, free: 33.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.012e-05/0.3724, allocations: 2.703 kB / 0.5646 GB, free: 33.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.311e-05/0.3725, allocations: 8.484 kB / 0.5647 GB, free: 33.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.3729, allocations: 93.3 kB / 0.5647 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.464e-05/0.373, allocations: 30.77 kB / 0.5648 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.373, allocations: 3.188 kB / 0.5648 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.827e-05/0.3731, allocations: 23.12 kB / 0.5648 GB, free: 33.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.494e-05/0.3732, allocations: 24.16 kB / 0.5648 GB, free: 33.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.3732, allocations: 2.438 kB / 0.5648 GB, free: 33.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002233/0.3734, allocations: 68.17 kB / 0.5649 GB, free: 33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.3734, allocations: 12.16 kB / 0.5649 GB, free: 32.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.073e-05/0.3735, allocations: 43.72 kB / 0.5649 GB, free: 32.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.3736, allocations: 42.28 kB / 0.565 GB, free: 32.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.3736, allocations: 2.281 kB / 0.565 GB, free: 32.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3736, allocations: 0 / 0.565 GB, free: 32.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.3737, allocations: 1.5 kB / 0.565 GB, free: 32.94 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.0003169/0.374, allocations: 336.6 kB / 0.5653 GB, free: 32.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.374, allocations: 12.66 kB / 0.5653 GB, free: 32.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.485e-05/0.3741, allocations: 9.469 kB / 0.5653 GB, free: 32.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.584e-05/0.3742, allocations: 167.2 kB / 0.5655 GB, free: 32.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.3742, allocations: 12.31 kB / 0.5655 GB, free: 32.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.3742, allocations: 3.469 kB / 0.5655 GB, free: 32.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.3744, allocations: 58.72 kB / 0.5656 GB, free: 32.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3744, allocations: 0.6875 kB / 0.5656 GB, free: 32.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.3744, allocations: 1.344 kB / 0.5656 GB, free: 32.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3744, allocations: 2.062 kB / 0.5656 GB, free: 32.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.624e-05/0.3745, allocations: 24.05 kB / 0.5656 GB, free: 32.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.3746, allocations: 164.6 kB / 0.5657 GB, free: 32.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.251e-05/0.3747, allocations: 53.19 kB / 0.5658 GB, free: 32.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.109e-05/0.3748, allocations: 19.22 kB / 0.5658 GB, free: 32.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006005/0.3754, allocations: 0.601 MB / 0.5664 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.3754, allocations: 33.97 kB / 0.5664 GB, free: 31.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.402e-06/0.3754, allocations: 0 / 0.5664 GB, free: 31.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005206/0.3759, allocations: 294 kB / 0.5667 GB, free: 31.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.376, allocations: 53.19 kB / 0.5668 GB, free: 31.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.176e-05/0.376, allocations: 100.3 kB / 0.5669 GB, free: 30.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.3761, allocations: 27.05 kB / 0.5669 GB, free: 30.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.582e-05/0.3761, allocations: 88.12 kB / 0.567 GB, free: 30.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.3761, allocations: 37.55 kB / 0.567 GB, free: 30.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.3761, allocations: 17.81 kB / 0.567 GB, free: 30.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.684e-05/0.3762, allocations: 321.5 kB / 0.5673 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.987e-05/0.3762, allocations: 14.58 kB / 0.5673 GB, free: 30.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.495e-05/0.3763, allocations: 50.52 kB / 0.5674 GB, free: 30.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.998e-05/0.3764, allocations: 71.91 kB / 0.5675 GB, free: 30.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3764, allocations: 0 / 0.5675 GB, free: 30.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001297/0.3765, allocations: 95.45 kB / 0.5675 GB, free: 30.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3765, allocations: 7.375 kB / 0.5676 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3766, allocations: 2.078 kB / 0.5676 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3766, allocations: 2.344 kB / 0.5676 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.695e-05/0.3767, allocations: 23.89 kB / 0.5676 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3767, allocations: 6.469 kB / 0.5676 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.641e-05/0.3767, allocations: 6.531 kB / 0.5676 GB, free: 30.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.3767, allocations: 5.125 kB / 0.5676 GB, free: 30.28 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 6.051e-05/0.3768, allocations: 119.2 kB / 0.5677 GB, free: 30.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.3768, allocations: 7.312 kB / 0.5677 GB, free: 30.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/0.3769, allocations: 15.25 kB / 0.5677 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3769, allocations: 1.094 kB / 0.5677 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3769, allocations: 3.938 kB / 0.5677 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3769, allocations: 4.594 kB / 0.5677 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.3771, allocations: 179.5 kB / 0.5679 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3771, allocations: 288 / 0.5679 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.798e-05/0.3772, allocations: 15.33 kB / 0.5679 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.3772, allocations: 1.469 kB / 0.5679 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.3772, allocations: 1 kB / 0.5679 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3772, allocations: 1.594 kB / 0.5679 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3772, allocations: 0.6562 kB / 0.5679 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.3774, allocations: 173.1 kB / 0.5681 GB, free: 29.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.3774, allocations: 87.17 kB / 0.5682 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.3775, allocations: 5.859 kB / 0.5682 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.3776, allocations: 7.609 kB / 0.5682 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/0.3776, allocations: 3.328 kB / 0.5682 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-06/0.3776, allocations: 6.781 kB / 0.5682 GB, free: 29.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.728e-05/0.3776, allocations: 84.88 kB / 0.5683 GB, free: 29.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3777, allocations: 0 / 0.5683 GB, free: 29.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00024/0.3779, allocations: 10.44 kB / 0.5683 GB, free: 29.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001189/0.378, allocations: 106.8 kB / 0.5684 GB, free: 29.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001157/0.3781, allocations: 48.45 kB / 0.5684 GB, free: 29.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3782, allocations: 3.938 kB / 0.5684 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.826e-05/0.3782, allocations: 21.03 kB / 0.5685 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.3785, allocations: 12.44 kB / 0.5685 GB, free: 29.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00059/0.3791, allocations: 421.2 kB / 0.5689 GB, free: 29.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.3792, allocations: 0.6833 MB / 0.5696 GB, free: 28.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/0.3792, allocations: 11.84 kB / 0.5696 GB, free: 28.5 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3792, allocations: 0 / 0.5696 GB, free: 28.5 MB / 446.1 MB Notification: Performance of Templates: time 0.00238/0.3816, allocations: 0.7616 MB / 0.5703 GB, free: 28.45 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)