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.001351/0.001351, 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.001398/0.001399, allocations: 192.5 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.428/1.428, 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.002581/0.002581, allocations: 290.8 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.06/1.06, allocations: 178.6 MB / 0.507 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00278/0.00278, allocations: 104.4 kB / 0.6059 GB, free: 25.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1709, allocations: 89.15 MB / 0.693 GB, free: 4.73 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002773/0.1737, allocations: 1.427 MB / 0.6944 GB, free: 3.305 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001565/0.1739, allocations: 39.83 kB / 0.6944 GB, free: 3.266 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.799e-05/0.1739, allocations: 3.938 kB / 0.6944 GB, free: 3.262 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.1741, allocations: 12.52 kB / 0.6944 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.1742, allocations: 15.92 kB / 0.6944 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.138e-06/0.1742, allocations: 0.6562 kB / 0.6944 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.735e-05/0.1743, allocations: 16.94 kB / 0.6945 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.369e-05/0.1743, allocations: 0 / 0.6945 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.716e-05/0.1744, allocations: 15.27 kB / 0.6945 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.439e-05/0.1744, allocations: 8 kB / 0.6945 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.1744, allocations: 0 / 0.6945 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.327e-05/0.1745, allocations: 11.98 kB / 0.6945 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.881e-05/0.1745, allocations: 11.94 kB / 0.6945 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.246e-05/0.1746, allocations: 7.922 kB / 0.6945 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.994e-05/0.1747, allocations: 27.92 kB / 0.6945 GB, free: 3.141 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1747, allocations: 0 / 0.6945 GB, free: 3.141 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1747, allocations: 0 / 0.6945 GB, free: 3.141 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.1747, allocations: 0 / 0.6945 GB, free: 3.141 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.0003867/0.1751, allocations: 343.7 kB / 0.6949 GB, free: 2.754 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.1751, allocations: 8.031 kB / 0.6949 GB, free: 2.746 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.1751, allocations: 4.922 kB / 0.6949 GB, free: 2.742 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.1753, allocations: 184.2 kB / 0.6951 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.1754, allocations: 384 / 0.6951 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.1754, allocations: 384 / 0.6951 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.675e-05/0.1755, allocations: 30.27 kB / 0.6951 GB, free: 2.488 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.1755, allocations: 192 / 0.6951 GB, free: 2.488 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.1755, allocations: 7.938 kB / 0.6951 GB, free: 2.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.1755, allocations: 0 / 0.6951 GB, free: 2.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.38e-05/0.1755, allocations: 7.984 kB / 0.6951 GB, free: 2.473 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.1757, allocations: 153.7 kB / 0.6952 GB, free: 2.273 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.602e-05/0.1758, allocations: 22.52 kB / 0.6953 GB, free: 2.242 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.02e-05/0.1758, allocations: 12.91 kB / 0.6953 GB, free: 2.227 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.1758, allocations: 0 / 0.6953 GB, free: 2.227 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1758, allocations: 34.56 kB / 0.6953 GB, free: 2.184 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.1758, allocations: 0 / 0.6953 GB, free: 2.184 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001386/0.176, allocations: 41.64 kB / 0.6953 GB, free: 2.137 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.176, allocations: 51.41 kB / 0.6954 GB, free: 2.074 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.1762, allocations: 129.6 kB / 0.6955 GB, free: 1.938 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.1762, allocations: 25.7 kB / 0.6955 GB, free: 1.906 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.1762, allocations: 88.12 kB / 0.6956 GB, free: 1.816 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.1763, allocations: 7.938 kB / 0.6956 GB, free: 1.809 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.1763, allocations: 17.84 kB / 0.6957 GB, free: 1.785 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1764, allocations: 310.8 kB / 0.696 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.092e-05/0.1765, allocations: 0 / 0.696 GB, free: 1.473 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.018e-05/0.1765, allocations: 4 kB / 0.696 GB, free: 1.469 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.025e-05/0.1765, allocations: 16.84 kB / 0.696 GB, free: 1.449 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1765, allocations: 0 / 0.696 GB, free: 1.449 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.392e-05/0.1766, allocations: 29.7 kB / 0.696 GB, free: 1.414 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1766, allocations: 12.09 kB / 0.696 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.1766, allocations: 3.938 kB / 0.696 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.1766, allocations: 3.938 kB / 0.696 GB, free: 1.395 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.197e-05/0.1767, allocations: 0 / 0.696 GB, free: 1.395 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.1767, allocations: 4 kB / 0.696 GB, free: 1.391 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.252e-05/0.1767, allocations: 0 / 0.696 GB, free: 1.391 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.1767, allocations: 0 / 0.696 GB, free: 1.391 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 7.704e-05/0.1768, allocations: 113.8 kB / 0.6961 GB, free: 1.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.1768, allocations: 7.906 kB / 0.6961 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.105e-05/0.1769, allocations: 49.17 kB / 0.6962 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.1769, allocations: 3.984 kB / 0.6962 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1769, allocations: 0 / 0.6962 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.1769, allocations: 0 / 0.6962 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.1771, allocations: 153.7 kB / 0.6963 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1771, allocations: 0 / 0.6963 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.23e-05/0.1771, allocations: 0 / 0.6963 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1771, allocations: 4 kB / 0.6963 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.1771, allocations: 7.938 kB / 0.6963 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.1771, allocations: 3.938 kB / 0.6964 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1771, allocations: 0 / 0.6964 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.816e-05/0.1772, allocations: 65.16 kB / 0.6964 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.1773, allocations: 81.02 kB / 0.6965 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.1773, allocations: 3.938 kB / 0.6965 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.668e-06/0.1773, allocations: 4 kB / 0.6965 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.1773, allocations: 0 / 0.6965 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.1773, allocations: 3.938 kB / 0.6965 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.987e-05/0.1774, allocations: 95.3 kB / 0.6966 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1774, allocations: 0 / 0.6966 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001831/0.1776, allocations: 4 kB / 0.6966 GB, free: 0.6992 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.0001991/0.1778, allocations: 117.7 kB / 0.6967 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.499e-05/0.1779, allocations: 15.94 kB / 0.6967 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1779, allocations: 0 / 0.6967 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.326e-06/0.1779, allocations: 7.938 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.0001316/0.178, allocations: 4 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.000255/0.1783, 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.0003226/0.1786, allocations: 0.6768 MB / 0.6975 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.493e-05/0.1787, allocations: 8.109 kB / 0.6975 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.059e-05/0.1787, allocations: 15.44 kB / 0.6975 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1787, allocations: 0 / 0.6975 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of Templates: time 0.002699/0.1814, allocations: 499.7 kB / 0.698 GB, free: 15.2 MB / 0.4981 GB 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)