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.001063/0.001062, allocations: 101.8 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.001007/0.001007, allocations: 191.9 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.352/1.352, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8257/0.8257, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 59.91 kB / 0.4911 GB, free: 7.473 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.4291, allocations: 77.94 MB / 0.5672 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002551/0.4317, allocations: 1.245 MB / 0.5684 GB, free: 31.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003534/0.4353, allocations: 3.254 MB / 0.5716 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.515e-05/0.4353, allocations: 0 / 0.5716 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.907e-05/0.4354, allocations: 0.5625 kB / 0.5716 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.252e-05/0.4355, allocations: 7.328 kB / 0.5716 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000523/0.436, allocations: 108.9 kB / 0.5717 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.421e-05/0.4361, allocations: 39.66 kB / 0.5717 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.4361, allocations: 3.25 kB / 0.5717 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.4362, allocations: 19.38 kB / 0.5718 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.4363, allocations: 21.8 kB / 0.5718 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.4363, allocations: 3.031 kB / 0.5718 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.4366, allocations: 72.89 kB / 0.5718 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.4366, allocations: 13.78 kB / 0.5719 GB, free: 29.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.851e-05/0.4366, allocations: 12.94 kB / 0.5719 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.4368, allocations: 74.11 kB / 0.5719 GB, free: 29.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.4368, allocations: 0.8438 kB / 0.5719 GB, free: 29.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4369, allocations: 5.219 kB / 0.5719 GB, free: 29.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.4369, allocations: 0 / 0.5719 GB, free: 29.43 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.0003756/0.4372, allocations: 353.1 kB / 0.5723 GB, free: 29.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4373, allocations: 10.23 kB / 0.5723 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.4374, allocations: 5.703 kB / 0.5723 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.038e-05/0.4375, allocations: 162.2 kB / 0.5725 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.4375, allocations: 6.156 kB / 0.5725 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.4376, allocations: 5.953 kB / 0.5725 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.4377, allocations: 57.33 kB / 0.5725 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.4377, allocations: 2.406 kB / 0.5725 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.4377, allocations: 0 / 0.5725 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4377, allocations: 1.688 kB / 0.5725 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.712e-05/0.4378, allocations: 23.44 kB / 0.5725 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.4379, allocations: 164.7 kB / 0.5727 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.444e-05/0.4381, allocations: 50.2 kB / 0.5727 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.301e-05/0.4381, allocations: 19.95 kB / 0.5728 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006064/0.4387, allocations: 0.5956 MB / 0.5734 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.4387, allocations: 38.2 kB / 0.5734 GB, free: 27.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.4387, allocations: 7.922 kB / 0.5734 GB, free: 27.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005548/0.4393, allocations: 293.1 kB / 0.5737 GB, free: 27.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.4393, allocations: 52.56 kB / 0.5737 GB, free: 27.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.859e-05/0.4394, allocations: 105.8 kB / 0.5738 GB, free: 27.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.4394, allocations: 28.33 kB / 0.5739 GB, free: 27.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.966e-05/0.4395, allocations: 81.78 kB / 0.5739 GB, free: 27.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.4395, allocations: 33.78 kB / 0.574 GB, free: 27.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.4395, allocations: 27.38 kB / 0.574 GB, free: 27.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.235e-05/0.4396, allocations: 322.5 kB / 0.5743 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.235e-05/0.4396, allocations: 14.77 kB / 0.5743 GB, free: 26.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.403e-05/0.4397, allocations: 54.47 kB / 0.5744 GB, free: 26.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.732e-05/0.4398, allocations: 75.56 kB / 0.5744 GB, free: 26.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4398, allocations: 0 / 0.5744 GB, free: 26.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001255/0.4399, allocations: 95.06 kB / 0.5745 GB, free: 26.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.4399, allocations: 6.562 kB / 0.5745 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.4399, allocations: 2.484 kB / 0.5745 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.44, allocations: 1.969 kB / 0.5745 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.566e-05/0.44, allocations: 23.2 kB / 0.5746 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.4401, allocations: 7.984 kB / 0.5746 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.046e-05/0.4401, allocations: 6.156 kB / 0.5746 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.4401, allocations: 8.156 kB / 0.5746 GB, free: 26.77 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.749e-05/0.4402, allocations: 115.4 kB / 0.5747 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.4402, allocations: 3.359 kB / 0.5747 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.013e-05/0.4402, allocations: 14.28 kB / 0.5747 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.4403, allocations: 1.344 kB / 0.5747 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4403, allocations: 0 / 0.5747 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4403, allocations: 5.953 kB / 0.5747 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.4405, allocations: 172.7 kB / 0.5749 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4405, allocations: 1.781 kB / 0.5749 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.089e-05/0.4406, allocations: 19.7 kB / 0.5749 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4406, allocations: 0.6562 kB / 0.5749 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.4406, allocations: 1.438 kB / 0.5749 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4406, allocations: 1.047 kB / 0.5749 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4406, allocations: 1.375 kB / 0.5749 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.4408, allocations: 181.9 kB / 0.5751 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.158e-05/0.4408, allocations: 83.36 kB / 0.5752 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.4408, allocations: 5.094 kB / 0.5752 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.4409, allocations: 1.906 kB / 0.5752 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.441, allocations: 7.672 kB / 0.5752 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.441, allocations: 8.344 kB / 0.5752 GB, free: 26.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.545e-05/0.441, allocations: 85.67 kB / 0.5753 GB, free: 26.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.441, allocations: 0 / 0.5753 GB, free: 26.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.4413, allocations: 9.688 kB / 0.5753 GB, free: 26.09 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.0001179/0.4414, allocations: 110.7 kB / 0.5754 GB, free: 26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001259/0.4415, allocations: 41.66 kB / 0.5754 GB, free: 25.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4415, allocations: 1.125 kB / 0.5754 GB, free: 25.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.366e-05/0.4416, allocations: 16.92 kB / 0.5754 GB, free: 25.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.4419, allocations: 8.344 kB / 0.5754 GB, free: 25.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005425/0.4424, allocations: 332.2 kB / 0.5758 GB, free: 25.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.4426, allocations: 0.6812 MB / 0.5764 GB, free: 25.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.151e-05/0.4426, allocations: 8.922 kB / 0.5764 GB, free: 25.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.4426, allocations: 11.28 kB / 0.5764 GB, free: 25.05 MB / 446.1 MB Notification: Performance of SimCode: time 7.02e-07/0.4426, allocations: 0 / 0.5764 GB, free: 25.05 MB / 446.1 MB Notification: Performance of Templates: time 0.002949/0.4456, allocations: 0.6175 MB / 0.577 GB, free: 24.96 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)