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.001271/0.001271, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001152/0.001152, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.306/1.306, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002008/0.002008, allocations: 286.2 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9175/0.9175, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 91.55 kB / 0.5945 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1631, allocations: 86.99 MB / 0.6794 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.0026/0.1657, allocations: 1.409 MB / 0.6808 GB, free: 15.76 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001381/0.1659, allocations: 36.61 kB / 0.6808 GB, free: 15.72 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.849e-05/0.166, allocations: 3.938 kB / 0.6808 GB, free: 15.72 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.1661, allocations: 9.703 kB / 0.6809 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.1662, allocations: 11.94 kB / 0.6809 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.425e-06/0.1663, allocations: 0 / 0.6809 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.132e-05/0.1663, allocations: 15.92 kB / 0.6809 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.294e-05/0.1664, allocations: 0 / 0.6809 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.778e-05/0.1664, allocations: 8.812 kB / 0.6809 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.907e-05/0.1665, allocations: 15.92 kB / 0.6809 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.1665, allocations: 1.125 kB / 0.6809 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.744e-05/0.1665, allocations: 11.98 kB / 0.6809 GB, free: 15.65 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.66e-05/0.1666, allocations: 4 kB / 0.6809 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.1666, allocations: 8.875 kB / 0.6809 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.913e-05/0.1667, allocations: 19.92 kB / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1667, allocations: 0 / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1667, allocations: 0.5312 kB / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.1667, allocations: 4 kB / 0.681 GB, free: 15.61 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.0003319/0.1671, allocations: 335.7 kB / 0.6813 GB, free: 15.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.1671, allocations: 8.031 kB / 0.6813 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.1671, allocations: 12.86 kB / 0.6813 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.1673, allocations: 172.3 kB / 0.6815 GB, free: 15.01 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.1673, allocations: 384 / 0.6815 GB, free: 15.01 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.1673, allocations: 384 / 0.6815 GB, free: 15.01 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.732e-05/0.1674, allocations: 34.25 kB / 0.6815 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1674, allocations: 4.125 kB / 0.6815 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-06/0.1674, allocations: 7.938 kB / 0.6815 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.1675, allocations: 0 / 0.6815 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.001e-05/0.1675, allocations: 4 kB / 0.6815 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.1676, allocations: 153.7 kB / 0.6817 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.107e-05/0.1677, allocations: 18.52 kB / 0.6817 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.666e-05/0.1677, allocations: 8.922 kB / 0.6817 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.1677, allocations: 0 / 0.6817 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.1678, allocations: 34.56 kB / 0.6817 GB, free: 14.67 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.1678, allocations: 0 / 0.6817 GB, free: 14.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001453/0.1679, allocations: 45.62 kB / 0.6818 GB, free: 14.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.168, allocations: 55.34 kB / 0.6818 GB, free: 14.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.863e-05/0.1681, allocations: 109.8 kB / 0.6819 GB, free: 14.44 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.1681, allocations: 25.7 kB / 0.6819 GB, free: 14.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.652e-05/0.1681, allocations: 88.14 kB / 0.682 GB, free: 14.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.1682, allocations: 4.031 kB / 0.682 GB, free: 14.31 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.1682, allocations: 13.72 kB / 0.682 GB, free: 14.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1683, allocations: 322.8 kB / 0.6824 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.086e-05/0.1683, allocations: 0 / 0.6824 GB, free: 13.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.722e-06/0.1683, allocations: 3.938 kB / 0.6824 GB, free: 13.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.36e-05/0.1684, allocations: 8.859 kB / 0.6824 GB, free: 13.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1684, allocations: 0 / 0.6824 GB, free: 13.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.076e-05/0.1684, allocations: 45.62 kB / 0.6824 GB, free: 13.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1685, allocations: 8.094 kB / 0.6824 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.1685, allocations: 3.938 kB / 0.6824 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1685, allocations: 4 kB / 0.6824 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.253e-05/0.1685, allocations: 0 / 0.6824 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.1685, allocations: 0 / 0.6824 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.44e-05/0.1686, allocations: 3.984 kB / 0.6824 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.1686, allocations: 0 / 0.6824 GB, free: 13.88 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.147e-05/0.1686, allocations: 111.2 kB / 0.6825 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.1687, allocations: 3.906 kB / 0.6825 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.511e-05/0.1687, allocations: 53.16 kB / 0.6826 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1688, allocations: 4 kB / 0.6826 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1688, allocations: 0 / 0.6826 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.1688, allocations: 0 / 0.6826 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.886e-05/0.1689, allocations: 153.6 kB / 0.6827 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1689, allocations: 0 / 0.6827 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.589e-05/0.1689, allocations: 7.938 kB / 0.6827 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.1689, allocations: 3.984 kB / 0.6827 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.1689, allocations: 3.938 kB / 0.6828 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1689, allocations: 0 / 0.6828 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1689, allocations: 4.031 kB / 0.6828 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.674e-05/0.169, allocations: 57.14 kB / 0.6828 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.709e-05/0.169, allocations: 81.11 kB / 0.6829 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.1691, allocations: 7.922 kB / 0.6829 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.548e-06/0.1691, allocations: 0 / 0.6829 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.398e-06/0.1691, allocations: 0 / 0.6829 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.1691, allocations: 0 / 0.6829 GB, free: 13.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.47e-05/0.1692, allocations: 103.6 kB / 0.683 GB, free: 13.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1692, allocations: 0 / 0.683 GB, free: 13.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001809/0.1694, allocations: 8 kB / 0.683 GB, free: 13.19 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.0001783/0.1695, allocations: 111.6 kB / 0.6831 GB, free: 13.08 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.122e-05/0.1696, allocations: 15.88 kB / 0.6831 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1696, allocations: 0 / 0.6831 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.009e-05/0.1696, allocations: 4 kB / 0.6831 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.1698, allocations: 3.984 kB / 0.6831 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000253/0.17, allocations: 115.4 kB / 0.6832 GB, free: 12.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.1703, allocations: 0.6731 MB / 0.6839 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.222e-05/0.1704, allocations: 12.11 kB / 0.6839 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.629e-05/0.1704, allocations: 7.438 kB / 0.6839 GB, free: 12.2 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1704, allocations: 0 / 0.6839 GB, free: 12.2 MB / 494.1 MB Notification: Performance of Templates: time 0.002277/0.1727, allocations: 469.4 kB / 0.6844 GB, free: 11.74 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)