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.004984/0.004984, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001228/0.001228, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002028/0.002028, allocations: 279.1 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9423/0.9423, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 99.83 kB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1622, allocations: 86.98 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.0028/0.1651, allocations: 1.478 MB / 0.7678 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.1666, allocations: 1.109 MB / 0.7689 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.099e-05/0.1667, allocations: 4 kB / 0.7689 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.1669, allocations: 15.86 kB / 0.7689 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.1671, allocations: 47.72 kB / 0.769 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.1673, allocations: 59.09 kB / 0.769 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.1675, allocations: 147.6 kB / 0.7692 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.1677, allocations: 69.02 kB / 0.7692 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.1678, allocations: 87.7 kB / 0.7693 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.168, allocations: 55.69 kB / 0.7694 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.703e-05/0.168, allocations: 16 kB / 0.7694 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.398e-05/0.1681, allocations: 24 kB / 0.7694 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.77e-05/0.1682, allocations: 43.88 kB / 0.7694 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.1684, allocations: 75.58 kB / 0.7695 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.1687, allocations: 199.4 kB / 0.7697 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1687, allocations: 0 / 0.7697 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1687, allocations: 0 / 0.7697 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.1687, allocations: 0 / 0.7697 GB, free: 5.004 MB / 0.5606 GB 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.0007206/0.1694, allocations: 0.4946 MB / 0.7702 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1695, allocations: 12.03 kB / 0.7702 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.623e-05/0.1695, allocations: 16.75 kB / 0.7702 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.1699, allocations: 260.2 kB / 0.7705 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.17, allocations: 119.4 kB / 0.7706 GB, free: 4 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.17, allocations: 4.375 kB / 0.7706 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.1704, allocations: 161.6 kB / 0.7707 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1704, allocations: 0 / 0.7707 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.1704, allocations: 4 kB / 0.7707 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/0.1704, allocations: 11.98 kB / 0.7707 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.712e-05/0.1705, allocations: 45.8 kB / 0.7708 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00099/0.1715, allocations: 464.4 kB / 0.7712 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.757e-05/0.1716, allocations: 34.56 kB / 0.7713 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.828e-05/0.1717, allocations: 16.86 kB / 0.7713 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.1717, allocations: 7.984 kB / 0.7713 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.1717, allocations: 30.56 kB / 0.7713 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 2.755e-06/0.1717, allocations: 0 / 0.7713 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0002802/0.172, allocations: 109.4 kB / 0.7714 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.1721, allocations: 59.41 kB / 0.7715 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.1723, allocations: 220.4 kB / 0.7717 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.1723, allocations: 29.7 kB / 0.7717 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.552e-05/0.1724, allocations: 128.2 kB / 0.7718 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.1725, allocations: 27.61 kB / 0.7719 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.1725, allocations: 25.72 kB / 0.7719 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1726, allocations: 326.8 kB / 0.7722 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.485e-05/0.1727, allocations: 27.97 kB / 0.7722 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.694e-05/0.1728, allocations: 102.2 kB / 0.7723 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.173, allocations: 150.1 kB / 0.7725 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.173, allocations: 4 kB / 0.7725 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000246/0.1732, allocations: 153.2 kB / 0.7726 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1733, allocations: 4 kB / 0.7726 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.1733, allocations: 4.375 kB / 0.7726 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1733, allocations: 8 kB / 0.7726 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.1734, allocations: 27.92 kB / 0.7727 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1734, allocations: 3.938 kB / 0.7727 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.173e-05/0.1735, allocations: 11.94 kB / 0.7727 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.1735, allocations: 8 kB / 0.7727 GB, free: 1.625 MB / 0.5606 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.0001215/0.1736, allocations: 145.8 kB / 0.7728 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.1737, allocations: 15.81 kB / 0.7728 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.1739, allocations: 119.3 kB / 0.773 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1739, allocations: 8 kB / 0.773 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1739, allocations: 3.938 kB / 0.773 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1739, allocations: 0 / 0.773 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.1742, allocations: 237.5 kB / 0.7732 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1742, allocations: 0 / 0.7732 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.275e-05/0.1743, allocations: 15.94 kB / 0.7732 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1743, allocations: 0 / 0.7732 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1743, allocations: 4 kB / 0.7732 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1743, allocations: 4 kB / 0.7732 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1743, allocations: 3.938 kB / 0.7732 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.1745, allocations: 187.3 kB / 0.7734 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.1745, allocations: 92.91 kB / 0.7735 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.1746, allocations: 4 kB / 0.7735 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.1748, allocations: 15.98 kB / 0.7735 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.1748, allocations: 11.92 kB / 0.7735 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.1749, allocations: 7.984 kB / 0.7735 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001407/0.175, allocations: 169.5 kB / 0.7737 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.175, allocations: 0 / 0.7737 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003244/0.1753, allocations: 31.94 kB / 0.7737 GB, free: 480 kB / 0.5606 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.000248/0.1756, allocations: 126.2 kB / 0.7738 GB, free: 348 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001789/0.1758, allocations: 71.84 kB / 0.7739 GB, free: 276 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1758, allocations: 0 / 0.7739 GB, free: 276 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.043e-05/0.1758, allocations: 23.98 kB / 0.7739 GB, free: 252 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.1762, allocations: 23.92 kB / 0.7739 GB, free: 228 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3074/0.4836, allocations: 277.6 kB / 0.7742 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.4838, allocations: 0.7323 MB / 0.7749 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001688/0.484, allocations: 50.39 kB / 0.775 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.484, allocations: 21.94 kB / 0.775 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.4841, allocations: 0 / 0.775 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of Templates: time 0.005323/0.4894, allocations: 2.395 MB / 0.7773 GB, free: 14.11 MB / 0.5606 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)