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.001783/0.001783, 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.00202/0.00202, allocations: 191.2 kB / 16.25 MB, free: 6.645 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.438/1.438, 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.00254/0.002541, allocations: 294.8 kB / 290.4 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.087/1.087, allocations: 178.6 MB / 0.5069 GB, free: 4.707 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002681/0.002681, allocations: 98.92 kB / 0.6059 GB, free: 25.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1655, allocations: 89.15 MB / 0.693 GB, free: 4.672 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.003544/0.1691, allocations: 1.413 MB / 0.6944 GB, free: 3.258 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001659/0.1693, allocations: 43.77 kB / 0.6944 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.614e-05/0.1693, allocations: 0.625 kB / 0.6944 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.1695, allocations: 4.656 kB / 0.6944 GB, free: 3.211 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.1696, allocations: 15.92 kB / 0.6944 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.207e-06/0.1697, allocations: 1.406 kB / 0.6944 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.543e-05/0.1697, allocations: 15.92 kB / 0.6944 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.991e-05/0.1698, allocations: 0 / 0.6944 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.931e-05/0.1698, allocations: 7.938 kB / 0.6944 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.208e-05/0.1699, allocations: 12.55 kB / 0.6944 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.1699, allocations: 2.719 kB / 0.6945 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.987e-05/0.17, allocations: 8 kB / 0.6945 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/0.17, allocations: 7.922 kB / 0.6945 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.799e-05/0.1701, allocations: 11.94 kB / 0.6945 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.428e-05/0.1702, allocations: 19.92 kB / 0.6945 GB, free: 3.113 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1702, allocations: 0 / 0.6945 GB, free: 3.113 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1702, allocations: 0 / 0.6945 GB, free: 3.113 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1702, allocations: 0 / 0.6945 GB, free: 3.113 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.0004435/0.1706, allocations: 337.2 kB / 0.6948 GB, free: 2.734 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1707, allocations: 12.03 kB / 0.6948 GB, free: 2.723 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.1707, allocations: 4.922 kB / 0.6948 GB, free: 2.719 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.171, allocations: 176.9 kB / 0.695 GB, free: 2.508 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.171, allocations: 5.875 kB / 0.695 GB, free: 2.504 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.171, allocations: 384 / 0.695 GB, free: 2.504 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.161e-05/0.1711, allocations: 34.25 kB / 0.695 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.1711, allocations: 4.125 kB / 0.695 GB, free: 2.461 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1712, allocations: 7.938 kB / 0.6951 GB, free: 2.453 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.1712, allocations: 0 / 0.6951 GB, free: 2.453 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.599e-05/0.1712, allocations: 8 kB / 0.6951 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002174/0.1714, allocations: 153.7 kB / 0.6952 GB, free: 2.246 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.718e-05/0.1715, allocations: 18.52 kB / 0.6952 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.245e-05/0.1715, allocations: 8.922 kB / 0.6952 GB, free: 2.207 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1716, allocations: 0 / 0.6952 GB, free: 2.207 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.1716, allocations: 34.56 kB / 0.6953 GB, free: 2.164 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1716, allocations: 0 / 0.6953 GB, free: 2.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001595/0.1718, allocations: 45.62 kB / 0.6953 GB, free: 2.113 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.1718, allocations: 55.34 kB / 0.6954 GB, free: 2.047 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.172, allocations: 113.8 kB / 0.6955 GB, free: 1.926 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.172, allocations: 29.64 kB / 0.6955 GB, free: 1.891 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.886e-05/0.1721, allocations: 88.14 kB / 0.6956 GB, free: 1.801 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.1721, allocations: 128 / 0.6956 GB, free: 1.801 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.1722, allocations: 13.72 kB / 0.6956 GB, free: 1.781 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.1724, allocations: 322.8 kB / 0.6959 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.154e-05/0.1724, allocations: 0 / 0.6959 GB, free: 1.457 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.825e-06/0.1724, allocations: 0 / 0.6959 GB, free: 1.457 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.295e-05/0.1724, allocations: 8.859 kB / 0.6959 GB, free: 1.445 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1725, allocations: 0 / 0.6959 GB, free: 1.445 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.24e-05/0.1726, allocations: 37.69 kB / 0.6959 GB, free: 1.402 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.1726, allocations: 13.66 kB / 0.696 GB, free: 1.391 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1726, allocations: 3.938 kB / 0.696 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1726, allocations: 0 / 0.696 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.21e-05/0.1727, allocations: 7.938 kB / 0.696 GB, free: 1.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1727, allocations: 0 / 0.696 GB, free: 1.379 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.91e-05/0.1727, allocations: 0 / 0.696 GB, free: 1.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.1727, allocations: 4 kB / 0.696 GB, free: 1.375 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 9.211e-05/0.1728, allocations: 105.8 kB / 0.6961 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.1729, allocations: 7.906 kB / 0.6961 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.173, allocations: 49.16 kB / 0.6961 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.173, allocations: 0 / 0.6961 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.173, allocations: 0 / 0.6961 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.173, allocations: 4 kB / 0.6961 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.1732, allocations: 149.7 kB / 0.6963 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1732, allocations: 3.938 kB / 0.6963 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.485e-05/0.1732, allocations: 0 / 0.6963 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.1732, allocations: 3.984 kB / 0.6963 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.1733, allocations: 3.938 kB / 0.6963 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1733, allocations: 0 / 0.6963 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1733, allocations: 11.97 kB / 0.6963 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.1734, allocations: 57.14 kB / 0.6964 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.1735, allocations: 81.02 kB / 0.6964 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.1735, allocations: 7.922 kB / 0.6964 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.111e-05/0.1735, allocations: 3.984 kB / 0.6964 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.057e-05/0.1735, allocations: 3.938 kB / 0.6964 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.1736, allocations: 4 kB / 0.6965 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.109e-05/0.1737, allocations: 103.3 kB / 0.6966 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1737, allocations: 0 / 0.6966 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003553/0.174, allocations: 4 kB / 0.6966 GB, free: 0.6797 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.0002333/0.1743, allocations: 106.3 kB / 0.6967 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.983e-05/0.1744, allocations: 11.94 kB / 0.6967 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1744, allocations: 0 / 0.6967 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.065e-05/0.1744, allocations: 4 kB / 0.6967 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.1746, allocations: 3.984 kB / 0.6967 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003167/0.175, allocations: 113.6 kB / 0.6968 GB, free: 424 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.1754, allocations: 0.6729 MB / 0.6974 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.794e-05/0.1755, allocations: 12.11 kB / 0.6975 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.1755, allocations: 7.438 kB / 0.6975 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.1756, allocations: 4 kB / 0.6975 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of Templates: time 0.003742/0.1793, allocations: 472.5 kB / 0.6979 GB, free: 15.23 MB / 0.4981 GB 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)