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.0008945/0.0008945, allocations: 97.52 kB / 15.69 MB, free: 488 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.000938/0.0009381, allocations: 175.2 kB / 16.57 MB, free: 6.391 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.273/1.273, allocations: 223.2 MB / 240.5 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6555/0.6555, allocations: 113.8 MB / 405.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004632/0.0004634, allocations: 13.61 kB / 493 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1779, allocations: 77.15 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.WeeklySchedule): time 0.001471/0.1794, allocations: 1.06 MB / 0.5579 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001382/0.1796, allocations: 39.89 kB / 0.5579 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.1796, allocations: 0 / 0.5579 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.1798, allocations: 11.88 kB / 0.5579 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.463e-05/0.1799, allocations: 11.97 kB / 0.5579 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.805e-06/0.1799, allocations: 0 / 0.5579 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.686e-05/0.1799, allocations: 8 kB / 0.5579 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.394e-05/0.18, allocations: 7.984 kB / 0.5579 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.405e-05/0.18, allocations: 3.938 kB / 0.5579 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.15e-05/0.1801, allocations: 7.984 kB / 0.5579 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.1801, allocations: 3.938 kB / 0.558 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.041e-05/0.1801, allocations: 8 kB / 0.558 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.297e-05/0.1802, allocations: 7.938 kB / 0.558 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.1802, allocations: 29.7 kB / 0.558 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.291e-05/0.1803, allocations: 19.97 kB / 0.558 GB, free: 10.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.1803, allocations: 0 / 0.558 GB, free: 10.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1803, allocations: 0 / 0.558 GB, free: 10.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.1803, allocations: 0 / 0.558 GB, free: 10.39 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.0002932/0.1806, allocations: 341.4 kB / 0.5583 GB, free: 10.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.1806, allocations: 8.031 kB / 0.5583 GB, free: 10 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.539e-05/0.1807, allocations: 0 / 0.5583 GB, free: 10 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.1808, allocations: 167.1 kB / 0.5585 GB, free: 9.801 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.1808, allocations: 4 kB / 0.5585 GB, free: 9.797 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-06/0.1808, allocations: 4 kB / 0.5585 GB, free: 9.793 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.038e-05/0.1809, allocations: 29.64 kB / 0.5585 GB, free: 9.758 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1809, allocations: 3.953 kB / 0.5585 GB, free: 9.754 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.1809, allocations: 0 / 0.5585 GB, free: 9.754 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.181, allocations: 7.984 kB / 0.5586 GB, free: 9.746 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.789e-05/0.181, allocations: 0 / 0.5586 GB, free: 9.746 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001372/0.1811, allocations: 149.7 kB / 0.5587 GB, free: 9.551 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.766e-05/0.1812, allocations: 26.56 kB / 0.5587 GB, free: 9.516 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.1812, allocations: 0 / 0.5587 GB, free: 9.516 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.1812, allocations: 38.5 kB / 0.5588 GB, free: 9.469 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.1812, allocations: 0 / 0.5588 GB, free: 9.469 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001161/0.1814, allocations: 41.62 kB / 0.5588 GB, free: 9.422 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.1814, allocations: 51.41 kB / 0.5588 GB, free: 9.359 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.255e-05/0.1815, allocations: 114 kB / 0.559 GB, free: 9.238 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.1815, allocations: 29.7 kB / 0.559 GB, free: 9.203 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.943e-05/0.1816, allocations: 84.12 kB / 0.5591 GB, free: 9.117 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.1816, allocations: 8 kB / 0.5591 GB, free: 9.109 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-06/0.1816, allocations: 0 / 0.5591 GB, free: 9.109 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.081e-05/0.1817, allocations: 310.8 kB / 0.5594 GB, free: 8.797 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.147e-06/0.1817, allocations: 0 / 0.5594 GB, free: 8.797 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-06/0.1817, allocations: 7.938 kB / 0.5594 GB, free: 8.789 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.279e-05/0.1817, allocations: 0 / 0.5594 GB, free: 8.789 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1817, allocations: 4.062 kB / 0.5594 GB, free: 8.785 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.41e-05/0.1818, allocations: 49.53 kB / 0.5594 GB, free: 8.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.1818, allocations: 4 kB / 0.5594 GB, free: 8.727 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1818, allocations: 0 / 0.5594 GB, free: 8.727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.1819, allocations: 7.984 kB / 0.5594 GB, free: 8.719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.423e-05/0.1819, allocations: 0 / 0.5594 GB, free: 8.719 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1819, allocations: 3.953 kB / 0.5594 GB, free: 8.715 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.257e-05/0.1819, allocations: 0 / 0.5594 GB, free: 8.715 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.1819, allocations: 0 / 0.5594 GB, free: 8.715 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.406e-05/0.182, allocations: 121.8 kB / 0.5596 GB, free: 8.586 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.182, allocations: 0 / 0.5596 GB, free: 8.586 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.097e-05/0.1821, allocations: 45.17 kB / 0.5596 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1821, allocations: 0 / 0.5596 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1821, allocations: 0 / 0.5596 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1821, allocations: 7.938 kB / 0.5596 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.613e-05/0.1822, allocations: 149.7 kB / 0.5598 GB, free: 8.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1823, allocations: 4 kB / 0.5598 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.582e-05/0.1823, allocations: 4 kB / 0.5598 GB, free: 8.324 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1823, allocations: 0 / 0.5598 GB, free: 8.324 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.1823, allocations: 4.031 kB / 0.5598 GB, free: 8.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1823, allocations: 0 / 0.5598 GB, free: 8.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1823, allocations: 0 / 0.5598 GB, free: 8.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.849e-05/0.1824, allocations: 68.94 kB / 0.5598 GB, free: 8.234 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.394e-05/0.1824, allocations: 85.09 kB / 0.5599 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.1824, allocations: 0 / 0.5599 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-06/0.1825, allocations: 0 / 0.5599 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-06/0.1825, allocations: 4.031 kB / 0.5599 GB, free: 8.129 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.1825, allocations: 0 / 0.5599 GB, free: 8.129 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.356e-05/0.1825, allocations: 99.25 kB / 0.56 GB, free: 8.031 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1826, allocations: 0 / 0.56 GB, free: 8.031 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001994/0.1828, allocations: 4 kB / 0.56 GB, free: 8.027 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000174/0.1829, allocations: 109.9 kB / 0.5601 GB, free: 7.918 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.375e-05/0.183, allocations: 11.98 kB / 0.5601 GB, free: 7.906 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.183, allocations: 0 / 0.5601 GB, free: 7.906 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.614e-06/0.183, allocations: 3.938 kB / 0.5601 GB, free: 7.902 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.298e-05/0.1831, allocations: 4 kB / 0.5601 GB, free: 7.898 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002103/0.1833, allocations: 120.5 kB / 0.5603 GB, free: 7.754 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.1836, allocations: 0.685 MB / 0.5609 GB, free: 7.043 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.716e-05/0.1836, allocations: 3.984 kB / 0.5609 GB, free: 7.039 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.815e-05/0.1836, allocations: 11.44 kB / 0.5609 GB, free: 7.027 MB / 430.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1836, allocations: 0 / 0.5609 GB, free: 7.027 MB / 430.1 MB Notification: Performance of Templates: time 0.002169/0.1858, allocations: 451.3 kB / 0.5614 GB, free: 6.59 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)