Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.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.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20200,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule") translateModel(IBPSA.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20200,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008334/0.0008332, allocations: 99.2 kB / 16.02 MB, free: 80 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.001054/0.001054, allocations: 181.5 kB / 16.92 MB, free: 6.754 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.563/1.563, 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.7667/0.7667, allocations: 115.5 MB / 407.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004311/0.0004312, allocations: 15.98 kB / 495.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1551, allocations: 77.53 MB / 0.56 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.WeeklySchedule): time 0.001887/0.1571, allocations: 1.064 MB / 0.561 GB, free: 7.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002171/0.1573, allocations: 39.81 kB / 0.561 GB, free: 7.941 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.349e-05/0.1574, allocations: 0 / 0.561 GB, free: 7.941 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.1576, allocations: 11.92 kB / 0.561 GB, free: 7.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.1578, allocations: 4 kB / 0.561 GB, free: 7.926 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.218e-06/0.1578, allocations: 0 / 0.561 GB, free: 7.926 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.845e-05/0.1579, allocations: 15.92 kB / 0.5611 GB, free: 7.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.856e-05/0.158, allocations: 4 kB / 0.5611 GB, free: 7.906 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.645e-05/0.158, allocations: 11.94 kB / 0.5611 GB, free: 7.895 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.065e-05/0.1581, allocations: 15.86 kB / 0.5611 GB, free: 7.879 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.1582, allocations: 0 / 0.5611 GB, free: 7.879 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.567e-05/0.1582, allocations: 15.98 kB / 0.5611 GB, free: 7.863 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.288e-05/0.1583, allocations: 4 kB / 0.5611 GB, free: 7.859 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.377e-05/0.1583, allocations: 33.64 kB / 0.5611 GB, free: 7.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.1585, allocations: 23.91 kB / 0.5612 GB, free: 7.797 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1585, allocations: 0 / 0.5612 GB, free: 7.797 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1585, allocations: 0 / 0.5612 GB, free: 7.797 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1585, allocations: 4 kB / 0.5612 GB, free: 7.793 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003982/0.1589, allocations: 331.7 kB / 0.5615 GB, free: 7.418 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.159, allocations: 8.031 kB / 0.5615 GB, free: 7.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.159, allocations: 0.9375 kB / 0.5615 GB, free: 7.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.1592, allocations: 180.2 kB / 0.5617 GB, free: 7.195 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1593, allocations: 384 / 0.5617 GB, free: 7.195 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.1593, allocations: 8.359 kB / 0.5617 GB, free: 7.188 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.72e-05/0.1594, allocations: 26.27 kB / 0.5617 GB, free: 7.156 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.1594, allocations: 192 / 0.5617 GB, free: 7.156 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.1594, allocations: 11.94 kB / 0.5617 GB, free: 7.145 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/0.1595, allocations: 0 / 0.5617 GB, free: 7.145 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.254e-05/0.1595, allocations: 7.922 kB / 0.5617 GB, free: 7.137 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.1597, allocations: 149.7 kB / 0.5619 GB, free: 6.941 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.435e-05/0.1597, allocations: 22.59 kB / 0.5619 GB, free: 6.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.637e-05/0.1597, allocations: 4.859 kB / 0.5619 GB, free: 6.902 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.1598, allocations: 0 / 0.5619 GB, free: 6.902 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.1598, allocations: 38.62 kB / 0.5619 GB, free: 6.855 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.1598, allocations: 0 / 0.5619 GB, free: 6.855 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001574/0.16, allocations: 41.58 kB / 0.562 GB, free: 6.809 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.16, allocations: 55.41 kB / 0.562 GB, free: 6.742 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.1602, allocations: 110.1 kB / 0.5621 GB, free: 6.625 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1602, allocations: 25.7 kB / 0.5621 GB, free: 6.594 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.982e-05/0.1603, allocations: 88.12 kB / 0.5622 GB, free: 6.504 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.1603, allocations: 3.906 kB / 0.5622 GB, free: 6.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.1603, allocations: 17.78 kB / 0.5623 GB, free: 6.477 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1605, allocations: 318.8 kB / 0.5626 GB, free: 6.156 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.447e-06/0.1605, allocations: 0 / 0.5626 GB, free: 6.156 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-06/0.1605, allocations: 0 / 0.5626 GB, free: 6.156 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.106e-05/0.1605, allocations: 16.78 kB / 0.5626 GB, free: 6.137 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1605, allocations: 0 / 0.5626 GB, free: 6.137 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.118e-05/0.1606, allocations: 33.7 kB / 0.5626 GB, free: 6.098 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1606, allocations: 4.094 kB / 0.5626 GB, free: 6.094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1606, allocations: 11.94 kB / 0.5626 GB, free: 6.082 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.1607, allocations: 0 / 0.5626 GB, free: 6.082 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.059e-05/0.1607, allocations: 0 / 0.5626 GB, free: 6.082 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/0.1607, allocations: 4.062 kB / 0.5626 GB, free: 6.078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.838e-05/0.1608, allocations: 4 kB / 0.5626 GB, free: 6.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.1608, allocations: 4 kB / 0.5626 GB, free: 6.07 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 8.384e-05/0.1609, allocations: 109.8 kB / 0.5627 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.1609, allocations: 7.844 kB / 0.5627 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.161, allocations: 49.11 kB / 0.5628 GB, free: 5.891 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.161, allocations: 7.984 kB / 0.5628 GB, free: 5.883 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.161, allocations: 0 / 0.5628 GB, free: 5.883 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.161, allocations: 0 / 0.5628 GB, free: 5.883 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.1612, allocations: 153.7 kB / 0.5629 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1612, allocations: 4 kB / 0.5629 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.723e-05/0.1612, allocations: 0 / 0.5629 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1612, allocations: 0 / 0.5629 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.1612, allocations: 3.938 kB / 0.563 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1612, allocations: 0 / 0.563 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1612, allocations: 4 kB / 0.563 GB, free: 5.672 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.55e-05/0.1613, allocations: 61.16 kB / 0.563 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.1614, allocations: 85.05 kB / 0.5631 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.1614, allocations: 3.938 kB / 0.5631 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-06/0.1614, allocations: 0 / 0.5631 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.512e-05/0.1614, allocations: 0 / 0.5631 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.1614, allocations: 0 / 0.5631 GB, free: 5.488 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.637e-05/0.1615, allocations: 103.2 kB / 0.5632 GB, free: 5.387 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1615, allocations: 4.031 kB / 0.5632 GB, free: 5.383 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001911/0.1617, allocations: 4 kB / 0.5632 GB, free: 5.379 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 (1): * Single equations (assignments): 1 * 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.0002208/0.1619, allocations: 108.2 kB / 0.5633 GB, free: 5.266 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.328e-05/0.162, allocations: 4 kB / 0.5633 GB, free: 5.262 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.162, allocations: 64 / 0.5633 GB, free: 5.262 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.688e-06/0.162, allocations: 8 kB / 0.5633 GB, free: 5.254 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.1622, allocations: 6.172 kB / 0.5633 GB, free: 5.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002725/0.1625, allocations: 124.5 kB / 0.5634 GB, free: 5.102 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.1628, allocations: 0.6809 MB / 0.5641 GB, free: 4.395 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.08e-05/0.1629, allocations: 4 kB / 0.5641 GB, free: 4.391 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.956e-05/0.1629, allocations: 7.438 kB / 0.5641 GB, free: 4.383 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1629, allocations: 4.062 kB / 0.5641 GB, free: 4.379 MB / 430.1 MB Notification: Performance of Templates: time 0.002497/0.1654, allocations: 458 kB / 0.5646 GB, free: 3.938 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.makefile (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.sim & ./IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)