Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.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.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001866/0.001866, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.425/1.425, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002634/0.002634, allocations: 286.3 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.104/1.104, allocations: 178.6 MB / 0.507 GB, free: 4.723 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002828/0.002829, allocations: 100.1 kB / 0.6059 GB, free: 25.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1697, allocations: 89.16 MB / 0.693 GB, free: 4.734 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002844/0.1726, allocations: 1.545 MB / 0.6945 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.1742, allocations: 1.08 MB / 0.6955 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.834e-05/0.1742, allocations: 3.938 kB / 0.6956 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001971/0.1745, allocations: 16.5 kB / 0.6956 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.1746, allocations: 31.36 kB / 0.6956 GB, free: 2.055 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.1748, allocations: 55.86 kB / 0.6957 GB, free: 2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.1751, allocations: 147.6 kB / 0.6958 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.1752, allocations: 62.48 kB / 0.6959 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.1753, allocations: 79.77 kB / 0.6959 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.1755, allocations: 67.62 kB / 0.696 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.1755, allocations: 12 kB / 0.696 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.746e-05/0.1756, allocations: 20 kB / 0.696 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.685e-05/0.1757, allocations: 51.88 kB / 0.6961 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.549e-05/0.1758, allocations: 71.58 kB / 0.6961 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.176, allocations: 199.6 kB / 0.6963 GB, free: 1.305 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1761, allocations: 4 kB / 0.6963 GB, free: 1.301 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.1761, allocations: 4 kB / 0.6963 GB, free: 1.297 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1761, allocations: 3.938 kB / 0.6963 GB, free: 1.293 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006973/0.1768, allocations: 482.7 kB / 0.6968 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1768, allocations: 15.97 kB / 0.6968 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.439e-05/0.1769, allocations: 20.66 kB / 0.6968 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.1773, allocations: 260.3 kB / 0.6971 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.1774, allocations: 119.3 kB / 0.6972 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.1775, allocations: 12.38 kB / 0.6972 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.1778, allocations: 161.6 kB / 0.6974 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1778, allocations: 0 / 0.6974 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.1779, allocations: 0 / 0.6974 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.138e-05/0.1779, allocations: 12 kB / 0.6974 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.178, allocations: 43.91 kB / 0.6974 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.1791, allocations: 464.3 kB / 0.6979 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.871e-05/0.1792, allocations: 38.5 kB / 0.6979 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.23e-05/0.1793, allocations: 32.78 kB / 0.6979 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.1793, allocations: 0 / 0.6979 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.1794, allocations: 38.56 kB / 0.698 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.1794, allocations: 0 / 0.698 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.000297/0.1797, allocations: 97.64 kB / 0.6981 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.1797, allocations: 55.39 kB / 0.6981 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.18, allocations: 219.7 kB / 0.6983 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.18, allocations: 33.7 kB / 0.6984 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.999e-05/0.1801, allocations: 116 kB / 0.6985 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.1801, allocations: 31.69 kB / 0.6985 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.566e-05/0.1802, allocations: 33.7 kB / 0.6985 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.1803, allocations: 326.8 kB / 0.6988 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.406e-05/0.1804, allocations: 27.92 kB / 0.6989 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.1805, allocations: 102.3 kB / 0.699 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.1807, allocations: 138.1 kB / 0.6991 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1807, allocations: 4 kB / 0.6991 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002839/0.181, allocations: 145.3 kB / 0.6992 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.181, allocations: 8 kB / 0.6992 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.181, allocations: 0 / 0.6992 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.181, allocations: 4 kB / 0.6992 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1811, allocations: 28.36 kB / 0.6993 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.1812, allocations: 15.88 kB / 0.6993 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.964e-05/0.1812, allocations: 11.84 kB / 0.6993 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.1813, allocations: 4 kB / 0.6993 GB, free: 13.94 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 0.0001257/0.1814, allocations: 147.1 kB / 0.6994 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.1814, allocations: 15.81 kB / 0.6995 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.1817, allocations: 119.4 kB / 0.6996 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1817, allocations: 4 kB / 0.6996 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.1817, allocations: 7.938 kB / 0.6996 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1817, allocations: 0 / 0.6996 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.182, allocations: 237.5 kB / 0.6998 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.182, allocations: 0 / 0.6998 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.105e-05/0.1821, allocations: 15.98 kB / 0.6998 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1821, allocations: 0 / 0.6998 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.1821, allocations: 4 kB / 0.6998 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1821, allocations: 0 / 0.6998 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1821, allocations: 3.938 kB / 0.6998 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.1824, allocations: 191.3 kB / 0.7 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-05/0.1824, allocations: 92.92 kB / 0.7001 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.1824, allocations: 4 kB / 0.7001 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.1827, allocations: 19.91 kB / 0.7001 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.1827, allocations: 7.938 kB / 0.7001 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.1828, allocations: 23.91 kB / 0.7002 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001464/0.1829, allocations: 152.2 kB / 0.7003 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1829, allocations: 4 kB / 0.7003 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003042/0.1832, allocations: 39.92 kB / 0.7003 GB, free: 12.77 MB / 0.4981 GB 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 (8): * Single equations (assignments): 8 * 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.0002492/0.1835, allocations: 123.4 kB / 0.7005 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001832/0.1837, allocations: 79.83 kB / 0.7005 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.1837, allocations: 4 kB / 0.7005 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.206e-05/0.1838, allocations: 27.92 kB / 0.7006 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.1841, allocations: 14.58 kB / 0.7006 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005516/0.1846, allocations: 331.9 kB / 0.7009 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.185, allocations: 0.7353 MB / 0.7016 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001208/0.1851, allocations: 52.78 kB / 0.7017 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.1852, allocations: 15.44 kB / 0.7017 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.1852, allocations: 0 / 0.7017 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of Templates: time 0.005483/0.1907, allocations: 2.381 MB / 0.704 GB, free: 9 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)