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.001151/0.001151, allocations: 115.1 kB / 16.42 MB, free: 6.496 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.001171/0.001171, allocations: 193.6 kB / 17.35 MB, free: 5.758 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.217/1.217, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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: 296.9 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.876/0.876, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 91.84 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3622, allocations: 86.97 MB / 0.767 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002475/0.3647, allocations: 1.491 MB / 0.7685 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.3661, allocations: 1.107 MB / 0.7696 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.067e-05/0.3662, allocations: 4 kB / 0.7696 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.3663, allocations: 23.84 kB / 0.7696 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001644/0.3665, allocations: 39.77 kB / 0.7696 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.3667, allocations: 63.36 kB / 0.7697 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.3669, allocations: 147.6 kB / 0.7698 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.367, allocations: 68.73 kB / 0.7699 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.894e-05/0.3671, allocations: 75.77 kB / 0.77 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.3673, allocations: 55.7 kB / 0.77 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.191e-05/0.3674, allocations: 12 kB / 0.77 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.667e-05/0.3674, allocations: 23.98 kB / 0.7701 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.597e-05/0.3675, allocations: 55.83 kB / 0.7701 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.35e-05/0.3676, allocations: 75.58 kB / 0.7702 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.3678, allocations: 195.4 kB / 0.7704 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.3678, allocations: 3.938 kB / 0.7704 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3678, allocations: 0 / 0.7704 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.3678, allocations: 0 / 0.7704 GB, free: 0.5312 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.0006046/0.3685, allocations: 489.2 kB / 0.7708 GB, free: 8 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.3685, allocations: 12.08 kB / 0.7708 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.362e-05/0.3686, allocations: 28.66 kB / 0.7709 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.3689, allocations: 260.9 kB / 0.7711 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.369, allocations: 119.3 kB / 0.7712 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.369, allocations: 8.375 kB / 0.7712 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.3693, allocations: 157.7 kB / 0.7714 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3694, allocations: 3.938 kB / 0.7714 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.3694, allocations: 7.984 kB / 0.7714 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.3694, allocations: 8 kB / 0.7714 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.279e-05/0.3695, allocations: 43.97 kB / 0.7715 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009594/0.3705, allocations: 460.3 kB / 0.7719 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.042e-05/0.3705, allocations: 38.56 kB / 0.7719 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.876e-05/0.3706, allocations: 24.84 kB / 0.772 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.3706, allocations: 4 kB / 0.772 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.3706, allocations: 34.56 kB / 0.772 GB, free: 14.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.3706, allocations: 0 / 0.772 GB, free: 14.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0002476/0.3709, allocations: 109.6 kB / 0.7721 GB, free: 14.57 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.3709, allocations: 55.39 kB / 0.7721 GB, free: 14.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.3711, allocations: 211.8 kB / 0.7723 GB, free: 14.29 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.3712, allocations: 29.7 kB / 0.7724 GB, free: 14.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.155e-05/0.3712, allocations: 124.1 kB / 0.7725 GB, free: 14.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.3713, allocations: 27.55 kB / 0.7725 GB, free: 14.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/0.3713, allocations: 33.7 kB / 0.7726 GB, free: 14.06 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.784e-05/0.3714, allocations: 330.8 kB / 0.7729 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.826e-05/0.3715, allocations: 23.98 kB / 0.7729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.23e-05/0.3716, allocations: 102.3 kB / 0.773 GB, free: 13.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.3717, allocations: 142.1 kB / 0.7731 GB, free: 13.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3718, allocations: 4 kB / 0.7731 GB, free: 13.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002166/0.372, allocations: 145.3 kB / 0.7733 GB, free: 13.24 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.372, allocations: 10.34 kB / 0.7733 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.372, allocations: 0 / 0.7733 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.372, allocations: 4.375 kB / 0.7733 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.969e-05/0.3721, allocations: 31.92 kB / 0.7733 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.3721, allocations: 4 kB / 0.7733 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.952e-05/0.3722, allocations: 11.84 kB / 0.7733 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.3722, allocations: 11.98 kB / 0.7733 GB, free: 13.17 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.0001042/0.3723, allocations: 146.4 kB / 0.7735 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-05/0.3724, allocations: 19.8 kB / 0.7735 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/0.3726, allocations: 107.2 kB / 0.7736 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3726, allocations: 0 / 0.7736 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3726, allocations: 0 / 0.7736 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.462e-05/0.3727, allocations: 104.8 kB / 0.7737 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.3727, allocations: 0 / 0.7737 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.3729, allocations: 23.92 kB / 0.7737 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.373, allocations: 7.984 kB / 0.7737 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000135/0.3731, allocations: 156.9 kB / 0.7739 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001977/0.3733, allocations: 279 kB / 0.7741 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.817e-05/0.3734, allocations: 23.97 kB / 0.7742 GB, free: 12.26 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000121/0.3735, allocations: 166.1 kB / 0.7743 GB, free: 12.1 MB / 0.545 GB Notification: Performance of Backend: time 1.593e-06/0.3735, allocations: 0 / 0.7743 GB, free: 12.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005143/0.374, allocations: 162.5 kB / 0.7745 GB, free: 11.94 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005659/0.3746, allocations: 0.7325 MB / 0.7752 GB, free: 11.16 MB / 0.545 GB Notification: Performance of Templates: time 0.004854/0.3795, allocations: 2.597 MB / 0.7777 GB, free: 8.598 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)