Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20200,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule") translateModel(BuildingSystems.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20200,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001003/0.001003, allocations: 115.5 kB / 16.37 MB, free: 6.004 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.001655/0.001655, allocations: 195.6 kB / 17.31 MB, free: 5.613 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.262/1.262, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002025/0.002025, allocations: 289 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8917/0.8917, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 96.28 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1604, allocations: 86.97 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.002454/0.1629, allocations: 1.352 MB / 0.6829 GB, free: 6.105 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001308/0.1631, allocations: 31.83 kB / 0.6829 GB, free: 6.074 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.685e-05/0.1631, allocations: 0 / 0.6829 GB, free: 6.074 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.1633, allocations: 15.92 kB / 0.683 GB, free: 6.059 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.1634, allocations: 15.92 kB / 0.683 GB, free: 6.043 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.927e-06/0.1634, allocations: 0 / 0.683 GB, free: 6.043 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.248e-05/0.1635, allocations: 11.94 kB / 0.683 GB, free: 6.031 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.373e-05/0.1635, allocations: 4 kB / 0.683 GB, free: 6.027 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.042e-05/0.1636, allocations: 11.92 kB / 0.683 GB, free: 6.016 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.163e-05/0.1636, allocations: 11.92 kB / 0.683 GB, free: 6.004 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.1636, allocations: 0 / 0.683 GB, free: 6.004 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.394e-05/0.1637, allocations: 12 kB / 0.683 GB, free: 5.992 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.725e-05/0.1637, allocations: 7.984 kB / 0.683 GB, free: 5.984 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.239e-05/0.1637, allocations: 7.938 kB / 0.683 GB, free: 5.977 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.012e-05/0.1638, allocations: 23.91 kB / 0.6831 GB, free: 5.953 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1639, allocations: 4 kB / 0.6831 GB, free: 5.949 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1639, allocations: 0 / 0.6831 GB, free: 5.949 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1639, allocations: 0 / 0.6831 GB, free: 5.949 MB / 494.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.000314/0.1642, allocations: 335.4 kB / 0.6834 GB, free: 5.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.378e-05/0.1643, allocations: 8.031 kB / 0.6834 GB, free: 5.562 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.1643, allocations: 4.938 kB / 0.6834 GB, free: 5.559 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.1645, allocations: 176.2 kB / 0.6836 GB, free: 5.348 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.751e-06/0.1645, allocations: 384 / 0.6836 GB, free: 5.348 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.1645, allocations: 4.312 kB / 0.6836 GB, free: 5.344 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.343e-05/0.1646, allocations: 34.27 kB / 0.6836 GB, free: 5.305 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.1646, allocations: 4.125 kB / 0.6836 GB, free: 5.301 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.1646, allocations: 3.938 kB / 0.6836 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.1646, allocations: 0 / 0.6836 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.114e-05/0.1646, allocations: 7.984 kB / 0.6836 GB, free: 5.289 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.1648, allocations: 153.7 kB / 0.6838 GB, free: 5.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.856e-05/0.1648, allocations: 22.52 kB / 0.6838 GB, free: 5.059 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.78e-05/0.1648, allocations: 12.91 kB / 0.6838 GB, free: 5.043 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.1649, allocations: 4 kB / 0.6838 GB, free: 5.039 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.1649, allocations: 30.56 kB / 0.6838 GB, free: 5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.1649, allocations: 0 / 0.6838 GB, free: 5 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001171/0.165, allocations: 37.64 kB / 0.6839 GB, free: 4.957 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.1651, allocations: 51.41 kB / 0.6839 GB, free: 4.895 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.1652, allocations: 117.8 kB / 0.684 GB, free: 4.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.719e-06/0.1652, allocations: 25.7 kB / 0.6841 GB, free: 4.738 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.268e-05/0.1652, allocations: 92.25 kB / 0.6841 GB, free: 4.645 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.1652, allocations: 7.906 kB / 0.6842 GB, free: 4.637 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/0.1653, allocations: 9.719 kB / 0.6842 GB, free: 4.621 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.1e-05/0.1654, allocations: 310.8 kB / 0.6845 GB, free: 4.309 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.1654, allocations: 8 kB / 0.6845 GB, free: 4.301 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-06/0.1654, allocations: 0 / 0.6845 GB, free: 4.301 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.84e-05/0.1654, allocations: 12.84 kB / 0.6845 GB, free: 4.285 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1654, allocations: 4.062 kB / 0.6845 GB, free: 4.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.264e-05/0.1655, allocations: 33.7 kB / 0.6845 GB, free: 4.242 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.1655, allocations: 4 kB / 0.6845 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.1655, allocations: 4.25 kB / 0.6845 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1655, allocations: 3.938 kB / 0.6845 GB, free: 4.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.254e-05/0.1656, allocations: 4 kB / 0.6845 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.1656, allocations: 0 / 0.6845 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.457e-05/0.1656, allocations: 4 kB / 0.6845 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.1656, allocations: 3.984 kB / 0.6845 GB, free: 4.219 MB / 494.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 7.008e-05/0.1657, allocations: 121.9 kB / 0.6847 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.1657, allocations: 3.906 kB / 0.6847 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.125e-05/0.1658, allocations: 41.17 kB / 0.6847 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1658, allocations: 0 / 0.6847 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1658, allocations: 3.984 kB / 0.6847 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1658, allocations: 3.938 kB / 0.6847 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.026e-05/0.1659, allocations: 157.6 kB / 0.6849 GB, free: 3.828 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1659, allocations: 0 / 0.6849 GB, free: 3.828 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.338e-05/0.166, allocations: 4 kB / 0.6849 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.166, allocations: 4.031 kB / 0.6849 GB, free: 3.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.166, allocations: 3.938 kB / 0.6849 GB, free: 3.816 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.166, allocations: 3.938 kB / 0.6849 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.166, allocations: 0 / 0.6849 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.568e-05/0.1661, allocations: 61.12 kB / 0.6849 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.094e-05/0.1661, allocations: 81.11 kB / 0.685 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.1661, allocations: 3.938 kB / 0.685 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.127e-06/0.1661, allocations: 0 / 0.685 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.296e-05/0.1662, allocations: 4.031 kB / 0.685 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.1662, allocations: 0 / 0.685 GB, free: 3.629 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.523e-05/0.1662, allocations: 95.25 kB / 0.6851 GB, free: 3.535 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1662, allocations: 0 / 0.6851 GB, free: 3.535 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001815/0.1664, allocations: 4 kB / 0.6851 GB, free: 3.531 MB / 494.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.0001748/0.1666, allocations: 122.1 kB / 0.6852 GB, free: 3.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.753e-05/0.1667, allocations: 15.92 kB / 0.6852 GB, free: 3.395 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1667, allocations: 0 / 0.6852 GB, free: 3.395 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.017e-05/0.1667, allocations: 4 kB / 0.6852 GB, free: 3.391 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.1668, allocations: 0 / 0.6852 GB, free: 3.391 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002312/0.1671, allocations: 109.5 kB / 0.6853 GB, free: 3.258 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.1673, allocations: 0.6808 MB / 0.686 GB, free: 2.551 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.258e-05/0.1673, allocations: 4 kB / 0.686 GB, free: 2.547 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.646e-05/0.1674, allocations: 7.438 kB / 0.686 GB, free: 2.539 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1674, allocations: 0 / 0.686 GB, free: 2.539 MB / 494.1 MB Notification: Performance of Templates: time 0.00232/0.1697, allocations: 482.6 kB / 0.6865 GB, free: 2.07 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)