Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001295/0.001295, allocations: 104.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 196 kB / 16.79 MB, free: 6.832 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.298/1.298, allocations: 222.9 MB / 240.5 MB, free: 4.527 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9848/0.9848, allocations: 143 MB / 433.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 63.91 kB / 0.5141 GB, free: 12.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1495, allocations: 82.04 MB / 0.5943 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002221/0.1518, allocations: 1.329 MB / 0.5956 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003194/0.155, allocations: 3.225 MB / 0.5987 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.917e-05/0.155, allocations: 0 / 0.5987 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.419e-05/0.1551, allocations: 0 / 0.5987 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.63e-05/0.1551, allocations: 11.92 kB / 0.5987 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.1556, allocations: 95.61 kB / 0.5988 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.399e-05/0.1556, allocations: 35.92 kB / 0.5988 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.158e-05/0.1557, allocations: 0 / 0.5988 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.964e-05/0.1557, allocations: 23.92 kB / 0.5989 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.868e-05/0.1558, allocations: 15.91 kB / 0.5989 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.1558, allocations: 4 kB / 0.5989 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002143/0.156, allocations: 79.75 kB / 0.599 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.156, allocations: 11.98 kB / 0.599 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.156, allocations: 11.92 kB / 0.599 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.1562, allocations: 48.22 kB / 0.599 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1562, allocations: 0 / 0.599 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.92e-07/0.1562, allocations: 3.938 kB / 0.599 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1562, allocations: 0 / 0.599 GB, free: 5.156 MB / 0.4981 GB 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.000378/0.1566, allocations: 347.5 kB / 0.5994 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1566, allocations: 12.03 kB / 0.5994 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.428e-05/0.1567, allocations: 8.938 kB / 0.5994 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.174e-05/0.1568, allocations: 172.3 kB / 0.5995 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.1568, allocations: 384 / 0.5995 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.1569, allocations: 8.375 kB / 0.5996 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.157, allocations: 61.72 kB / 0.5996 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.157, allocations: 0 / 0.5996 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.157, allocations: 8 kB / 0.5996 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.157, allocations: 0 / 0.5996 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.812e-05/0.1571, allocations: 11.98 kB / 0.5996 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.1573, allocations: 169.7 kB / 0.5998 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.783e-05/0.1574, allocations: 50.56 kB / 0.5998 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.885e-05/0.1574, allocations: 16.86 kB / 0.5999 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006352/0.158, allocations: 0.5947 MB / 0.6004 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.1581, allocations: 46.56 kB / 0.6005 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1581, allocations: 0 / 0.6005 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005318/0.1586, allocations: 298.2 kB / 0.6008 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.1587, allocations: 51.41 kB / 0.6008 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.183e-05/0.1587, allocations: 97.84 kB / 0.6009 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.1587, allocations: 33.7 kB / 0.6009 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.72e-05/0.1588, allocations: 84.05 kB / 0.601 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.1588, allocations: 35.55 kB / 0.6011 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.1589, allocations: 29.66 kB / 0.6011 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.449e-05/0.159, allocations: 314.8 kB / 0.6014 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.046e-05/0.159, allocations: 15.98 kB / 0.6014 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.176e-05/0.1591, allocations: 57.08 kB / 0.6015 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.929e-05/0.1591, allocations: 69.09 kB / 0.6015 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1591, allocations: 4 kB / 0.6015 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001284/0.1593, allocations: 89.55 kB / 0.6016 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.1593, allocations: 4 kB / 0.6016 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1593, allocations: 12.06 kB / 0.6016 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.1593, allocations: 0 / 0.6016 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.558e-05/0.1594, allocations: 19.98 kB / 0.6016 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1594, allocations: 7.938 kB / 0.6017 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.791e-05/0.1595, allocations: 7.938 kB / 0.6017 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.1595, allocations: 4 kB / 0.6017 GB, free: 2.047 MB / 0.4981 GB 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.205e-05/0.1596, allocations: 113.8 kB / 0.6018 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.1596, allocations: 12.17 kB / 0.6018 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.1596, allocations: 11.97 kB / 0.6018 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1596, allocations: 3.984 kB / 0.6018 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1596, allocations: 0 / 0.6018 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1596, allocations: 3.938 kB / 0.6018 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.1599, allocations: 173.7 kB / 0.602 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1599, allocations: 0 / 0.602 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.456e-05/0.16, allocations: 23.94 kB / 0.602 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.16, allocations: 0 / 0.602 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.16, allocations: 3.984 kB / 0.602 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.16, allocations: 448 / 0.602 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.16, allocations: 0 / 0.602 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.1602, allocations: 175.4 kB / 0.6022 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.1602, allocations: 81.14 kB / 0.6022 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.1602, allocations: 8 kB / 0.6022 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.1604, allocations: 3.938 kB / 0.6022 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.685e-05/0.1604, allocations: 11.98 kB / 0.6023 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.1604, allocations: 3.938 kB / 0.6023 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.131e-05/0.1604, allocations: 79.28 kB / 0.6023 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1604, allocations: 4 kB / 0.6023 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002343/0.1607, allocations: 16 kB / 0.6024 GB, free: 1.238 MB / 0.4981 GB 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.0001185/0.1608, allocations: 99.19 kB / 0.6025 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.1609, allocations: 51.89 kB / 0.6025 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1609, allocations: 0 / 0.6025 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.103e-05/0.161, allocations: 8 kB / 0.6025 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.1612, allocations: 16.92 kB / 0.6025 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005498/0.1618, allocations: 358.1 kB / 0.6029 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.242/0.4038, allocations: 0.6809 MB / 0.6035 GB, free: 43.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.4039, allocations: 10.72 kB / 0.6035 GB, free: 43.98 MB / 0.4981 GB Notification: Performance of SimCode: time 1.162e-06/0.4039, allocations: 0 / 0.6035 GB, free: 43.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.00198/0.4059, allocations: 0.7729 MB / 0.6043 GB, free: 43.98 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)