Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009857/0.0009855, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009993/0.0009995, allocations: 194.9 kB / 16.25 MB, free: 6.621 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.299/1.299, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001981/0.001981, allocations: 275 kB / 290.4 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9336/0.9336, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 87.33 kB / 0.5947 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1753, allocations: 86.99 MB / 0.6796 GB, free: 1.043 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.00233/0.1777, allocations: 1.414 MB / 0.681 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000129/0.1778, allocations: 44.47 kB / 0.6811 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.1779, allocations: 0 / 0.6811 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.178, allocations: 13.62 kB / 0.6811 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.763e-05/0.1781, allocations: 4 kB / 0.6811 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.641e-06/0.1781, allocations: 4 kB / 0.6811 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.051e-05/0.1782, allocations: 23.91 kB / 0.6811 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.768e-05/0.1782, allocations: 8 kB / 0.6811 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.241e-05/0.1783, allocations: 3.938 kB / 0.6811 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.947e-05/0.1783, allocations: 7.984 kB / 0.6811 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.1783, allocations: 4 kB / 0.6811 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.163e-05/0.1784, allocations: 12 kB / 0.6811 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.333e-05/0.1784, allocations: 3.938 kB / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.1784, allocations: 7.938 kB / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.779e-05/0.1785, allocations: 35.89 kB / 0.6812 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1785, allocations: 3.938 kB / 0.6812 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1785, allocations: 0 / 0.6812 GB, free: 15.46 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.808e-06/0.1786, allocations: 4 kB / 0.6812 GB, free: 15.45 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.0002792/0.1788, allocations: 331.7 kB / 0.6815 GB, free: 15.08 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.1789, allocations: 12.03 kB / 0.6815 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.816e-05/0.1789, allocations: 4.922 kB / 0.6815 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.1791, allocations: 176.3 kB / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-06/0.1791, allocations: 384 / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-06/0.1791, allocations: 384 / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.801e-05/0.1792, allocations: 38.23 kB / 0.6817 GB, free: 14.81 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.1792, allocations: 192 / 0.6817 GB, free: 14.81 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.1792, allocations: 7.938 kB / 0.6817 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.1792, allocations: 0 / 0.6817 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.663e-05/0.1792, allocations: 4 kB / 0.6817 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001242/0.1793, allocations: 157.6 kB / 0.6819 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.138e-05/0.1794, allocations: 18.58 kB / 0.6819 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.589e-05/0.1794, allocations: 8.859 kB / 0.6819 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.1794, allocations: 0 / 0.6819 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.1794, allocations: 42.55 kB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 5.43e-06/0.1795, allocations: 64 / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001028/0.1796, allocations: 45.52 kB / 0.682 GB, free: 14.45 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.1796, allocations: 51.41 kB / 0.682 GB, free: 14.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.491e-05/0.1797, allocations: 125.8 kB / 0.6822 GB, free: 14.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.1797, allocations: 25.7 kB / 0.6822 GB, free: 14.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.823e-05/0.1798, allocations: 84.14 kB / 0.6823 GB, free: 14.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.1798, allocations: 3.906 kB / 0.6823 GB, free: 14.14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.1798, allocations: 21.83 kB / 0.6823 GB, free: 14.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.231e-05/0.1799, allocations: 314.8 kB / 0.6826 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.055e-05/0.1799, allocations: 4 kB / 0.6826 GB, free: 13.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.221e-06/0.1799, allocations: 0 / 0.6826 GB, free: 13.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.647e-05/0.1799, allocations: 8.859 kB / 0.6826 GB, free: 13.78 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.18, allocations: 0 / 0.6826 GB, free: 13.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.24e-05/0.18, allocations: 45.62 kB / 0.6826 GB, free: 13.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.18, allocations: 10.12 kB / 0.6827 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.18, allocations: 3.938 kB / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.1801, allocations: 0 / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.517e-05/0.1801, allocations: 4 kB / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.1801, allocations: 0 / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.153e-05/0.1801, allocations: 0 / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.1801, allocations: 0 / 0.6827 GB, free: 13.71 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 5.913e-05/0.1802, allocations: 111.2 kB / 0.6828 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.1802, allocations: 7.891 kB / 0.6828 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.116e-05/0.1803, allocations: 49.17 kB / 0.6828 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1803, allocations: 3.938 kB / 0.6828 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.1803, allocations: 0 / 0.6828 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1803, allocations: 0 / 0.6828 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.376e-05/0.1804, allocations: 157.7 kB / 0.683 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1804, allocations: 0 / 0.683 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.28e-05/0.1804, allocations: 4 kB / 0.683 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.1804, allocations: 0 / 0.683 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.1804, allocations: 3.938 kB / 0.683 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1805, allocations: 0 / 0.683 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.1805, allocations: 32 / 0.683 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.215e-05/0.1805, allocations: 65.12 kB / 0.6831 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.915e-05/0.1806, allocations: 81.11 kB / 0.6831 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.1806, allocations: 3.938 kB / 0.6831 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.398e-06/0.1806, allocations: 3.938 kB / 0.6831 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-06/0.1806, allocations: 0 / 0.6831 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-06/0.1806, allocations: 0 / 0.6831 GB, free: 13.13 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.642e-05/0.1807, allocations: 103.3 kB / 0.6832 GB, free: 13.03 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.232e-06/0.1807, allocations: 0 / 0.6832 GB, free: 13.03 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001761/0.1809, allocations: 7.938 kB / 0.6832 GB, free: 13.02 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.0001562/0.181, allocations: 123.7 kB / 0.6834 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.364e-05/0.1811, allocations: 8 kB / 0.6834 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.1811, allocations: 0 / 0.6834 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.017e-05/0.1811, allocations: 8 kB / 0.6834 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.1812, allocations: 0 / 0.6834 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002558/0.1815, allocations: 117.5 kB / 0.6835 GB, free: 12.74 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.1817, allocations: 0.6768 MB / 0.6841 GB, free: 12.04 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.134e-05/0.1818, allocations: 8.062 kB / 0.6842 GB, free: 12.03 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.541e-05/0.1818, allocations: 11.44 kB / 0.6842 GB, free: 12.02 MB / 494.1 MB Notification: Performance of SimCode: time 1.663e-06/0.1818, allocations: 0 / 0.6842 GB, free: 12.02 MB / 494.1 MB Notification: Performance of Templates: time 0.002212/0.184, allocations: 0.4937 MB / 0.6846 GB, free: 11.52 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)