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.001037/0.001037, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001074/0.001074, allocations: 197.5 kB / 16.14 MB, free: 6.66 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.337/1.337, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002086, allocations: 282.7 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9426/0.9426, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00245/0.00245, allocations: 91.06 kB / 0.5945 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1752, allocations: 86.99 MB / 0.6794 GB, free: 1.219 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002416/0.1776, allocations: 1.422 MB / 0.6808 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001325/0.1778, allocations: 43.75 kB / 0.6809 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.631e-05/0.1778, allocations: 0 / 0.6809 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.178, allocations: 19.88 kB / 0.6809 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.932e-05/0.1781, allocations: 0 / 0.6809 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.5e-06/0.1781, allocations: 8 kB / 0.6809 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.91e-05/0.1782, allocations: 15.92 kB / 0.6809 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.343e-05/0.1782, allocations: 4 kB / 0.6809 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.72e-05/0.1782, allocations: 8 kB / 0.6809 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.357e-05/0.1783, allocations: 11.91 kB / 0.6809 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.1783, allocations: 4 kB / 0.6809 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.378e-05/0.1784, allocations: 8 kB / 0.6809 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.993e-05/0.1784, allocations: 11.88 kB / 0.681 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.1784, allocations: 3.938 kB / 0.681 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.166e-05/0.1785, allocations: 35.89 kB / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1785, allocations: 4 kB / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1785, allocations: 0 / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1786, allocations: 0 / 0.681 GB, free: 15.62 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.0003496/0.1789, allocations: 331.7 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.1789, allocations: 8.031 kB / 0.6813 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.179, allocations: 4.938 kB / 0.6813 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.1792, allocations: 176.3 kB / 0.6815 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.14e-06/0.1792, allocations: 384 / 0.6815 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.1792, allocations: 384 / 0.6815 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.173e-05/0.1793, allocations: 38.25 kB / 0.6815 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.982e-06/0.1793, allocations: 192 / 0.6815 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.1793, allocations: 3.938 kB / 0.6815 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.1793, allocations: 0 / 0.6815 GB, free: 14.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.005e-05/0.1793, allocations: 7.938 kB / 0.6815 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.1795, allocations: 157.7 kB / 0.6817 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.612e-05/0.1795, allocations: 18.58 kB / 0.6817 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.656e-05/0.1795, allocations: 8.922 kB / 0.6817 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.1796, allocations: 4 kB / 0.6817 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.1796, allocations: 30.56 kB / 0.6818 GB, free: 14.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.1796, allocations: 0 / 0.6818 GB, free: 14.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000122/0.1797, allocations: 49.56 kB / 0.6818 GB, free: 14.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.1797, allocations: 51.41 kB / 0.6818 GB, free: 14.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.613e-05/0.1798, allocations: 113.8 kB / 0.682 GB, free: 14.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.1799, allocations: 33.64 kB / 0.682 GB, free: 14.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.1799, allocations: 84.27 kB / 0.6821 GB, free: 14.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.1799, allocations: 3.906 kB / 0.6821 GB, free: 14.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.18, allocations: 17.72 kB / 0.6821 GB, free: 14.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.793e-05/0.1801, allocations: 314.8 kB / 0.6824 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.071e-05/0.1801, allocations: 3.938 kB / 0.6824 GB, free: 13.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.466e-06/0.1801, allocations: 4 kB / 0.6824 GB, free: 13.97 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.528e-05/0.1801, allocations: 12.86 kB / 0.6824 GB, free: 13.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1801, allocations: 0 / 0.6824 GB, free: 13.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001038/0.1802, allocations: 45.69 kB / 0.6825 GB, free: 13.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.1803, allocations: 4 kB / 0.6825 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1803, allocations: 3.938 kB / 0.6825 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.1803, allocations: 0 / 0.6825 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.27e-05/0.1803, allocations: 0 / 0.6825 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1803, allocations: 4 kB / 0.6825 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.225e-05/0.1803, allocations: 0 / 0.6825 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.1804, allocations: 0 / 0.6825 GB, free: 13.89 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 6.747e-05/0.1804, allocations: 111.2 kB / 0.6826 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.1804, allocations: 11.91 kB / 0.6826 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.311e-05/0.1805, allocations: 53.09 kB / 0.6826 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.1805, allocations: 0 / 0.6826 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1806, allocations: 0 / 0.6826 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1806, allocations: 0 / 0.6826 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.989e-05/0.1807, allocations: 157.7 kB / 0.6828 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1807, allocations: 0 / 0.6828 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.465e-05/0.1807, allocations: 8 kB / 0.6828 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1807, allocations: 0 / 0.6828 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.1807, allocations: 3.938 kB / 0.6828 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1807, allocations: 4.031 kB / 0.6828 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1807, allocations: 0 / 0.6828 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.638e-05/0.1808, allocations: 57.12 kB / 0.6829 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.279e-05/0.1808, allocations: 81.11 kB / 0.6829 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.1808, allocations: 7.938 kB / 0.6829 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.071e-05/0.1809, allocations: 0 / 0.6829 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.134e-05/0.1809, allocations: 3.938 kB / 0.6829 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.1809, allocations: 4.031 kB / 0.6829 GB, free: 13.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.328e-05/0.1809, allocations: 99.19 kB / 0.683 GB, free: 13.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1809, allocations: 0 / 0.683 GB, free: 13.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001816/0.1811, 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.0001803/0.1813, allocations: 117.8 kB / 0.6832 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.353e-05/0.1814, allocations: 11.98 kB / 0.6832 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1814, allocations: 0 / 0.6832 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.905e-06/0.1814, allocations: 4 kB / 0.6832 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.0001386/0.1816, allocations: 4 kB / 0.6832 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002396/0.1818, allocations: 115.1 kB / 0.6833 GB, free: 12.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.182, allocations: 0.6811 MB / 0.684 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.114e-05/0.1821, allocations: 4 kB / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.956e-05/0.1821, allocations: 15.44 kB / 0.684 GB, free: 12.19 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1821, allocations: 0 / 0.684 GB, free: 12.19 MB / 494.1 MB Notification: Performance of Templates: time 0.002365/0.1845, allocations: 491.6 kB / 0.6844 GB, free: 11.71 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)