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.001204/0.001204, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001167/0.001167, allocations: 191 kB / 17.29 MB, free: 5.516 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.23/1.23, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002034/0.002034, allocations: 291.8 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8991/0.8991, allocations: 169.3 MB / 0.4989 GB, free: 4.484 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 90.55 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1552, allocations: 86.98 MB / 0.6816 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.00241/0.1577, allocations: 1.478 MB / 0.683 GB, free: 5.984 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1589, allocations: 1.102 MB / 0.6841 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.555e-05/0.159, allocations: 3.938 kB / 0.6841 GB, free: 4.871 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.1591, allocations: 27.84 kB / 0.6841 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.1593, allocations: 35.78 kB / 0.6842 GB, free: 4.809 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.1595, allocations: 59.03 kB / 0.6842 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.1596, allocations: 155.6 kB / 0.6844 GB, free: 4.602 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.1598, allocations: 53.05 kB / 0.6844 GB, free: 4.551 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.183e-05/0.1599, allocations: 87.69 kB / 0.6845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.16, allocations: 55.7 kB / 0.6846 GB, free: 4.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.16, allocations: 12 kB / 0.6846 GB, free: 4.398 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.293e-05/0.1601, allocations: 27.98 kB / 0.6846 GB, free: 4.371 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.961e-05/0.1602, allocations: 47.89 kB / 0.6847 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.444e-05/0.1603, allocations: 71.58 kB / 0.6847 GB, free: 4.254 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.1605, allocations: 211.3 kB / 0.6849 GB, free: 4.047 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1605, allocations: 0 / 0.6849 GB, free: 4.047 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1605, allocations: 0 / 0.6849 GB, free: 4.047 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1605, allocations: 0 / 0.6849 GB, free: 4.047 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.0005664/0.1611, allocations: 494.7 kB / 0.6854 GB, free: 3.516 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.8e-05/0.1611, allocations: 12.02 kB / 0.6854 GB, free: 3.504 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.808e-05/0.1612, allocations: 16.75 kB / 0.6854 GB, free: 3.488 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.1615, allocations: 261.1 kB / 0.6857 GB, free: 3.195 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.1616, allocations: 119.3 kB / 0.6858 GB, free: 3.055 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.1617, allocations: 4.375 kB / 0.6858 GB, free: 3.051 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.162, allocations: 168.6 kB / 0.6859 GB, free: 2.883 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.162, allocations: 0 / 0.6859 GB, free: 2.883 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.162, allocations: 7.938 kB / 0.686 GB, free: 2.875 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.162, allocations: 4 kB / 0.686 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.574e-05/0.1621, allocations: 43.97 kB / 0.686 GB, free: 2.828 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008808/0.163, allocations: 464.4 kB / 0.6864 GB, free: 2.324 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.903e-05/0.1631, allocations: 38.5 kB / 0.6865 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.736e-05/0.1631, allocations: 24.84 kB / 0.6865 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.1631, allocations: 3.938 kB / 0.6865 GB, free: 2.246 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.1632, allocations: 42.56 kB / 0.6866 GB, free: 2.195 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.1632, allocations: 0 / 0.6866 GB, free: 2.195 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002227/0.1634, allocations: 105.6 kB / 0.6867 GB, free: 2.086 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.1634, allocations: 55.39 kB / 0.6867 GB, free: 2.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1636, allocations: 215.7 kB / 0.6869 GB, free: 1.797 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.1637, allocations: 29.7 kB / 0.6869 GB, free: 1.762 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/0.1637, allocations: 120.1 kB / 0.6871 GB, free: 1.641 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.1638, allocations: 23.7 kB / 0.6871 GB, free: 1.617 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/0.1638, allocations: 33.7 kB / 0.6871 GB, free: 1.578 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1639, allocations: 326.8 kB / 0.6874 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.7e-05/0.164, allocations: 27.98 kB / 0.6874 GB, free: 1.223 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.606e-05/0.1641, allocations: 102.2 kB / 0.6875 GB, free: 1.086 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.1642, allocations: 142.2 kB / 0.6877 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1642, allocations: 0 / 0.6877 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002219/0.1645, allocations: 149.5 kB / 0.6878 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1645, allocations: 16 kB / 0.6878 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1645, allocations: 0 / 0.6878 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1645, allocations: 4 kB / 0.6878 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.87e-05/0.1646, allocations: 27.98 kB / 0.6879 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1646, allocations: 7.938 kB / 0.6879 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.808e-05/0.1647, allocations: 11.84 kB / 0.6879 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.1647, allocations: 15.92 kB / 0.6879 GB, free: 0.6758 MB / 494.1 MB 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.0001088/0.1648, allocations: 138.5 kB / 0.688 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.208e-05/0.1649, allocations: 23.73 kB / 0.6881 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.1651, allocations: 119.1 kB / 0.6882 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.1651, allocations: 0 / 0.6882 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1651, allocations: 3.938 kB / 0.6882 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1651, allocations: 0 / 0.6882 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.1653, allocations: 229.5 kB / 0.6884 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1653, allocations: 0 / 0.6884 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.617e-05/0.1654, allocations: 19.98 kB / 0.6884 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1654, allocations: 0 / 0.6884 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.1654, allocations: 4 kB / 0.6884 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1654, allocations: 0 / 0.6884 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1654, allocations: 8.328 kB / 0.6884 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2774/0.4428, allocations: 190.5 kB / 0.6886 GB, free: 17.99 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.4429, allocations: 88.11 kB / 0.6887 GB, free: 17.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.4429, allocations: 1.578 kB / 0.6887 GB, free: 17.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/0.4433, allocations: 16.89 kB / 0.6887 GB, free: 17.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.839e-05/0.4434, allocations: 9.625 kB / 0.6887 GB, free: 17.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-05/0.4434, allocations: 14.06 kB / 0.6887 GB, free: 17.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00022/0.4437, allocations: 163 kB / 0.6889 GB, free: 17.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4437, allocations: 0.7812 kB / 0.6889 GB, free: 17.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005867/0.4443, allocations: 38.16 kB / 0.6889 GB, free: 17.82 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 (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.000261/0.4445, allocations: 119.3 kB / 0.689 GB, free: 17.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000234/0.4448, allocations: 70.66 kB / 0.6891 GB, free: 17.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.4448, allocations: 2.578 kB / 0.6891 GB, free: 17.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.659e-05/0.4449, allocations: 31.12 kB / 0.6891 GB, free: 17.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004855/0.4454, allocations: 17.88 kB / 0.6892 GB, free: 17.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006401/0.446, allocations: 282.7 kB / 0.6894 GB, free: 17.58 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.4462, allocations: 0.7328 MB / 0.6901 GB, free: 16.88 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001915/0.4464, allocations: 57.06 kB / 0.6902 GB, free: 16.88 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.921e-05/0.4465, allocations: 19.28 kB / 0.6902 GB, free: 16.88 MB / 494.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4465, allocations: 1.406 kB / 0.6902 GB, free: 16.88 MB / 494.1 MB Notification: Performance of Templates: time 0.007686/0.4542, allocations: 2.377 MB / 0.6925 GB, free: 16.78 MB / 494.1 MB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)