Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.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.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009127/0.0009127, allocations: 93.81 kB / 16.02 MB, free: 84 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.001067/0.001067, allocations: 182.2 kB / 16.91 MB, free: 6.914 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.382/1.382, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7167/0.7167, allocations: 115.5 MB / 407.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003527, allocations: 8 kB / 495.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1607, allocations: 77.54 MB / 0.56 GB, free: 9.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002122/0.1629, allocations: 1.189 MB / 0.5611 GB, free: 7.812 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.1644, allocations: 1.074 MB / 0.5622 GB, free: 6.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.731e-05/0.1645, allocations: 0 / 0.5622 GB, free: 6.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.1647, allocations: 15.94 kB / 0.5622 GB, free: 6.715 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.1648, allocations: 35.78 kB / 0.5622 GB, free: 6.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.1651, allocations: 58.92 kB / 0.5623 GB, free: 6.625 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.1653, allocations: 139.6 kB / 0.5624 GB, free: 6.488 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.1654, allocations: 61.09 kB / 0.5625 GB, free: 6.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.181e-05/0.1655, allocations: 67.69 kB / 0.5625 GB, free: 6.363 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.1657, allocations: 43.78 kB / 0.5626 GB, free: 6.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.1657, allocations: 4 kB / 0.5626 GB, free: 6.316 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.459e-05/0.1658, allocations: 20 kB / 0.5626 GB, free: 6.297 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.217e-05/0.1659, allocations: 39.81 kB / 0.5626 GB, free: 6.258 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.025e-05/0.166, allocations: 101.2 kB / 0.5627 GB, free: 6.152 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.1662, allocations: 183.6 kB / 0.5629 GB, free: 5.973 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1662, allocations: 0 / 0.5629 GB, free: 5.973 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1662, allocations: 4 kB / 0.5629 GB, free: 5.969 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1663, allocations: 0 / 0.5629 GB, free: 5.969 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006389/0.1669, allocations: 458.8 kB / 0.5634 GB, free: 5.473 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1669, allocations: 12.03 kB / 0.5634 GB, free: 5.461 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.944e-05/0.167, allocations: 20.75 kB / 0.5634 GB, free: 5.441 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.1673, allocations: 247.9 kB / 0.5636 GB, free: 5.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.1674, allocations: 127.4 kB / 0.5637 GB, free: 5.012 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.1675, allocations: 4.375 kB / 0.5637 GB, free: 5.008 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00035/0.1678, allocations: 169.6 kB / 0.5639 GB, free: 4.836 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1678, allocations: 4 kB / 0.5639 GB, free: 4.832 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.1679, allocations: 7.984 kB / 0.5639 GB, free: 4.824 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/0.1679, allocations: 11.98 kB / 0.5639 GB, free: 4.812 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.785e-05/0.168, allocations: 51.84 kB / 0.564 GB, free: 4.762 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.1691, allocations: 472.4 kB / 0.5644 GB, free: 4.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.26e-05/0.1692, allocations: 34.56 kB / 0.5645 GB, free: 4.207 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.069e-05/0.1692, allocations: 20.86 kB / 0.5645 GB, free: 4.184 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.1693, allocations: 11.97 kB / 0.5645 GB, free: 4.172 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.1693, allocations: 30.56 kB / 0.5645 GB, free: 4.133 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.1693, allocations: 8 kB / 0.5645 GB, free: 4.125 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002555/0.1696, allocations: 109.6 kB / 0.5646 GB, free: 4.012 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.1696, allocations: 51.41 kB / 0.5647 GB, free: 3.949 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.1698, allocations: 228.4 kB / 0.5649 GB, free: 3.715 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.1699, allocations: 25.7 kB / 0.5649 GB, free: 3.684 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.95e-05/0.17, allocations: 120 kB / 0.565 GB, free: 3.562 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.17, allocations: 27.64 kB / 0.5651 GB, free: 3.535 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.17, allocations: 17.72 kB / 0.5651 GB, free: 3.512 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1701, allocations: 326.8 kB / 0.5654 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.97e-05/0.1702, allocations: 31.97 kB / 0.5654 GB, free: 3.152 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.294e-05/0.1703, allocations: 95.88 kB / 0.5655 GB, free: 3.023 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.1705, allocations: 142.2 kB / 0.5657 GB, free: 2.848 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1705, allocations: 0 / 0.5657 GB, free: 2.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000236/0.1707, allocations: 153.5 kB / 0.5658 GB, free: 2.691 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.1708, allocations: 11.98 kB / 0.5658 GB, free: 2.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.1708, allocations: 4 kB / 0.5658 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1708, allocations: 0 / 0.5658 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.1709, allocations: 23.94 kB / 0.5658 GB, free: 2.652 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.1709, allocations: 11.92 kB / 0.5658 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.266e-05/0.171, allocations: 15.84 kB / 0.5659 GB, free: 2.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.171, allocations: 8.312 kB / 0.5659 GB, free: 2.617 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 0.0001236/0.1711, allocations: 145.7 kB / 0.566 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/0.1712, allocations: 19.88 kB / 0.566 GB, free: 2.445 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.1714, allocations: 114.9 kB / 0.5661 GB, free: 2.328 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1714, allocations: 0 / 0.5661 GB, free: 2.328 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1714, allocations: 3.938 kB / 0.5661 GB, free: 2.324 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1714, allocations: 7.984 kB / 0.5662 GB, free: 2.316 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.1717, allocations: 229.6 kB / 0.5664 GB, free: 2.043 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1717, allocations: 3.938 kB / 0.5664 GB, free: 2.039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.907e-05/0.1718, allocations: 15.98 kB / 0.5664 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1718, allocations: 0 / 0.5664 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.1718, allocations: 8 kB / 0.5664 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.1718, allocations: 4 kB / 0.5664 GB, free: 2.012 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1718, allocations: 7.875 kB / 0.5664 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.172, allocations: 183.3 kB / 0.5666 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/0.172, allocations: 92.91 kB / 0.5667 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.1721, allocations: 4 kB / 0.5667 GB, free: 1.695 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.1724, allocations: 27.98 kB / 0.5667 GB, free: 1.668 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.387e-05/0.1724, allocations: 11.92 kB / 0.5667 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.1724, allocations: 7.984 kB / 0.5667 GB, free: 1.648 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.1726, allocations: 164.1 kB / 0.5669 GB, free: 1.488 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1726, allocations: 0 / 0.5669 GB, free: 1.488 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003074/0.1729, allocations: 31.91 kB / 0.5669 GB, free: 1.457 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (8): * Single equations (assignments): 8 * 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.0002557/0.1732, allocations: 125.7 kB / 0.567 GB, free: 1.332 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001517/0.1733, allocations: 67.84 kB / 0.5671 GB, free: 1.266 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1733, allocations: 0.75 kB / 0.5671 GB, free: 1.266 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.741e-05/0.1734, allocations: 23.98 kB / 0.5671 GB, free: 1.242 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.1737, allocations: 27.98 kB / 0.5671 GB, free: 1.215 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005269/0.1742, allocations: 338.1 kB / 0.5675 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.1746, allocations: 0.7316 MB / 0.5682 GB, free: 100 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000117/0.1747, allocations: 60.7 kB / 0.5682 GB, free: 40 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.1748, allocations: 19.44 kB / 0.5683 GB, free: 20 kB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1748, allocations: 0 / 0.5683 GB, free: 20 kB / 430.1 MB Notification: Performance of Templates: time 0.005071/0.1798, allocations: 2.29 MB / 0.5705 GB, free: 13.76 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.makefile (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)