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.001434/0.001434, allocations: 103.7 kB / 16.27 MB, free: 6.41 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.001492/0.001492, allocations: 184.4 kB / 17.2 MB, free: 5.953 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.386/1.386, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8034/0.8034, allocations: 126.4 MB / 417.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.89 kB / 0.4953 GB, free: 3.086 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.423, allocations: 78.78 MB / 0.5723 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002238/0.4253, allocations: 1.251 MB / 0.5735 GB, free: 30.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003309/0.4286, allocations: 3.254 MB / 0.5767 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.155e-05/0.4287, allocations: 0.5625 kB / 0.5767 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/0.4287, allocations: 0.7031 kB / 0.5767 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.62e-05/0.4288, allocations: 7.688 kB / 0.5767 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.4293, allocations: 115.1 kB / 0.5768 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.648e-05/0.4293, allocations: 34.86 kB / 0.5768 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.697e-05/0.4294, allocations: 3.234 kB / 0.5768 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.713e-05/0.4294, allocations: 19.58 kB / 0.5768 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.366e-05/0.4295, allocations: 23.38 kB / 0.5768 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.4295, allocations: 1.375 kB / 0.5768 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.4297, allocations: 73.33 kB / 0.5769 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.4297, allocations: 9.391 kB / 0.5769 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.4298, allocations: 15.84 kB / 0.5769 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.4299, allocations: 79.05 kB / 0.577 GB, free: 27.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.43, allocations: 0 / 0.577 GB, free: 27.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.43, allocations: 0 / 0.577 GB, free: 27.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.43, allocations: 0 / 0.577 GB, free: 27.86 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.0003316/0.4303, allocations: 355.6 kB / 0.5774 GB, free: 27.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.4304, allocations: 8.25 kB / 0.5774 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.669e-05/0.4305, allocations: 6.297 kB / 0.5774 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.235e-05/0.4305, allocations: 164 kB / 0.5775 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.4306, allocations: 1.75 kB / 0.5775 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.4306, allocations: 9.109 kB / 0.5775 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.4307, allocations: 54.27 kB / 0.5776 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.4307, allocations: 0.625 kB / 0.5776 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.4307, allocations: 2.344 kB / 0.5776 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.4308, allocations: 0.6094 kB / 0.5776 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.917e-05/0.4308, allocations: 24.14 kB / 0.5776 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001383/0.431, allocations: 172 kB / 0.5778 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.194e-05/0.4311, allocations: 49.45 kB / 0.5778 GB, free: 27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.885e-05/0.4311, allocations: 20.56 kB / 0.5778 GB, free: 26.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005794/0.4317, allocations: 0.5872 MB / 0.5784 GB, free: 26.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.4317, allocations: 37.52 kB / 0.5785 GB, free: 26.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.4317, allocations: 3.938 kB / 0.5785 GB, free: 26.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005166/0.4322, allocations: 306 kB / 0.5788 GB, free: 26.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.4323, allocations: 54.05 kB / 0.5788 GB, free: 25.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.664e-05/0.4323, allocations: 100.3 kB / 0.5789 GB, free: 25.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.4323, allocations: 30.36 kB / 0.5789 GB, free: 25.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.8e-05/0.4324, allocations: 83.41 kB / 0.579 GB, free: 25.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.4324, allocations: 30.23 kB / 0.579 GB, free: 25.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.4324, allocations: 26.91 kB / 0.5791 GB, free: 25.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.156e-05/0.4325, allocations: 320.2 kB / 0.5794 GB, free: 25.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.89e-05/0.4325, allocations: 12.62 kB / 0.5794 GB, free: 25.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.299e-05/0.4326, allocations: 51.36 kB / 0.5794 GB, free: 25.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.534e-05/0.4327, allocations: 83.91 kB / 0.5795 GB, free: 25.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4327, allocations: 2.812 kB / 0.5795 GB, free: 25.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000125/0.4328, allocations: 94.14 kB / 0.5796 GB, free: 25.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.4328, allocations: 6.281 kB / 0.5796 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.4328, allocations: 2.625 kB / 0.5796 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.4329, allocations: 1.219 kB / 0.5796 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.661e-05/0.4329, allocations: 21.45 kB / 0.5796 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.433, allocations: 4.469 kB / 0.5796 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.834e-05/0.433, allocations: 9.719 kB / 0.5796 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-06/0.433, allocations: 3.719 kB / 0.5796 GB, free: 25.17 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.209e-05/0.4331, allocations: 117.5 kB / 0.5798 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.4331, allocations: 4.344 kB / 0.5798 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.4331, allocations: 9.156 kB / 0.5798 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.4331, allocations: 0 / 0.5798 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4332, allocations: 9.281 kB / 0.5798 GB, free: 25.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4332, allocations: 5.406 kB / 0.5798 GB, free: 25.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.4334, allocations: 170.2 kB / 0.5799 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.4334, allocations: 0 / 0.5799 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.423e-05/0.4335, allocations: 21.17 kB / 0.58 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4335, allocations: 1.031 kB / 0.58 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.4335, allocations: 5.219 kB / 0.58 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.4335, allocations: 0.9688 kB / 0.58 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4335, allocations: 1.062 kB / 0.58 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.4336, allocations: 182.1 kB / 0.5802 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.4337, allocations: 80.17 kB / 0.5802 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.4337, allocations: 5.438 kB / 0.5802 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.4338, allocations: 2.75 kB / 0.5802 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.649e-05/0.4338, allocations: 6.156 kB / 0.5802 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.4338, allocations: 8.562 kB / 0.5802 GB, free: 24.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.269e-05/0.4339, allocations: 81.33 kB / 0.5803 GB, free: 24.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4339, allocations: 1.062 kB / 0.5803 GB, free: 24.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002401/0.4341, allocations: 13.47 kB / 0.5803 GB, free: 24.46 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 9.993e-05/0.4342, allocations: 106 kB / 0.5804 GB, free: 24.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.4344, allocations: 47.22 kB / 0.5805 GB, free: 24.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4344, allocations: 0.6562 kB / 0.5805 GB, free: 24.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.498e-05/0.4344, allocations: 19.89 kB / 0.5805 GB, free: 24.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.4347, allocations: 3.562 kB / 0.5805 GB, free: 24.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005396/0.4353, allocations: 337 kB / 0.5808 GB, free: 24.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.4354, allocations: 0.682 MB / 0.5815 GB, free: 23.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.199e-05/0.4355, allocations: 6.969 kB / 0.5815 GB, free: 23.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.823e-05/0.4355, allocations: 11.5 kB / 0.5815 GB, free: 23.4 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4355, allocations: 0 / 0.5815 GB, free: 23.4 MB / 446.1 MB Notification: Performance of Templates: time 0.002666/0.4382, allocations: 0.6191 MB / 0.5821 GB, free: 23.08 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)