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.0009814/0.0009815, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.0009602/0.0009603, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.219/1.219, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002064/0.002064, allocations: 287.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8899/0.8899, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 88.28 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3633, allocations: 86.99 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002374/0.3657, allocations: 1.472 MB / 0.7685 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.367, allocations: 1.107 MB / 0.7696 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.423e-05/0.367, allocations: 0 / 0.7696 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.3672, allocations: 23.86 kB / 0.7696 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.3674, allocations: 47.77 kB / 0.7696 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.3676, allocations: 70.59 kB / 0.7697 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.3677, allocations: 143.6 kB / 0.7698 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.3679, allocations: 60.75 kB / 0.7699 GB, free: 1 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.315e-05/0.368, allocations: 91.69 kB / 0.77 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.3681, allocations: 47.77 kB / 0.77 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.3682, allocations: 12 kB / 0.77 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.492e-05/0.3682, allocations: 20 kB / 0.7701 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.408e-05/0.3683, allocations: 55.81 kB / 0.7701 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.614e-05/0.3684, allocations: 71.58 kB / 0.7702 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.3686, allocations: 207.4 kB / 0.7704 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.3686, allocations: 3.938 kB / 0.7704 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3687, allocations: 0 / 0.7704 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.3687, allocations: 0 / 0.7704 GB, free: 0.5 MB / 0.5294 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.0006036/0.3693, allocations: 489.4 kB / 0.7708 GB, free: 15.97 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.3693, allocations: 8.031 kB / 0.7709 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.616e-05/0.3694, allocations: 20.66 kB / 0.7709 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.3697, allocations: 261 kB / 0.7711 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.3698, allocations: 119.4 kB / 0.7712 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.3698, allocations: 8.375 kB / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/0.3701, allocations: 161.6 kB / 0.7714 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.3702, allocations: 4 kB / 0.7714 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.3702, allocations: 0 / 0.7714 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.3702, allocations: 8 kB / 0.7714 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.726e-05/0.3703, allocations: 47.97 kB / 0.7715 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009471/0.3713, allocations: 464.3 kB / 0.7719 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.757e-05/0.3713, allocations: 34.56 kB / 0.7719 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.823e-05/0.3714, allocations: 28.84 kB / 0.772 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.3714, allocations: 4 kB / 0.772 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.3714, allocations: 34.56 kB / 0.772 GB, free: 14.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.3714, allocations: 0 / 0.772 GB, free: 14.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0002329/0.3717, allocations: 105.4 kB / 0.7721 GB, free: 14.55 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.3717, allocations: 51.41 kB / 0.7721 GB, free: 14.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.3719, allocations: 215.8 kB / 0.7723 GB, free: 14.26 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.3719, allocations: 33.7 kB / 0.7724 GB, free: 14.22 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.025e-05/0.372, allocations: 128.2 kB / 0.7725 GB, free: 14.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.372, allocations: 27.55 kB / 0.7725 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.3721, allocations: 33.7 kB / 0.7726 GB, free: 14.03 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.3722, allocations: 330.8 kB / 0.7729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.596e-05/0.3722, allocations: 23.98 kB / 0.7729 GB, free: 13.67 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.481e-05/0.3723, allocations: 102.2 kB / 0.773 GB, free: 13.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.3725, allocations: 142.1 kB / 0.7731 GB, free: 13.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3725, allocations: 0 / 0.7731 GB, free: 13.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002195/0.3727, allocations: 149.3 kB / 0.7733 GB, free: 13.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.3727, allocations: 8 kB / 0.7733 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.3728, allocations: 4 kB / 0.7733 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.3728, allocations: 0 / 0.7733 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.285e-05/0.3729, allocations: 31.92 kB / 0.7733 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.3729, allocations: 4.375 kB / 0.7733 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.786e-05/0.3729, allocations: 15.84 kB / 0.7733 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.373, allocations: 11.98 kB / 0.7733 GB, free: 13.13 MB / 0.545 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.0001114/0.3731, allocations: 148.8 kB / 0.7735 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.281e-05/0.3731, allocations: 15.81 kB / 0.7735 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.3733, allocations: 111.2 kB / 0.7736 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3733, allocations: 0 / 0.7736 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3733, allocations: 0 / 0.7736 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.3734, allocations: 96.8 kB / 0.7737 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.3734, allocations: 7.984 kB / 0.7737 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.3737, allocations: 15.98 kB / 0.7737 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.3737, allocations: 15.92 kB / 0.7737 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001353/0.3738, allocations: 156.9 kB / 0.7739 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001877/0.374, allocations: 258.6 kB / 0.7741 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.188e-05/0.3741, allocations: 31.91 kB / 0.7742 GB, free: 12.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001217/0.3742, allocations: 162.1 kB / 0.7743 GB, free: 12.08 MB / 0.545 GB Notification: Performance of Backend: time 1.343e-06/0.3742, allocations: 0 / 0.7743 GB, free: 12.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004809/0.3747, allocations: 163.5 kB / 0.7745 GB, free: 11.92 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005675/0.3753, allocations: 0.7343 MB / 0.7752 GB, free: 11.14 MB / 0.545 GB Notification: Performance of Templates: time 0.004687/0.38, allocations: 2.607 MB / 0.7777 GB, free: 8.566 MB / 0.545 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)