Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001039, allocations: 104.6 kB / 16.35 MB, free: 5.828 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.001032/0.001032, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7752/0.7752, allocations: 132.2 MB / 423.3 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 59.91 kB / 0.5032 GB, free: 10.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.305, allocations: 80.19 MB / 0.5815 GB, free: 27.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002056/0.3071, allocations: 1.412 MB / 0.5829 GB, free: 26.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006583/0.3078, allocations: 0.4953 MB / 0.5833 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.037e-05/0.3078, allocations: 4.562 kB / 0.5833 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.581e-05/0.3079, allocations: 11.7 kB / 0.5834 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.245e-05/0.3079, allocations: 9.969 kB / 0.5834 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005707/0.3085, allocations: 234.5 kB / 0.5836 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.3087, allocations: 145.1 kB / 0.5837 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.257e-05/0.3087, allocations: 11.34 kB / 0.5837 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.922e-05/0.3088, allocations: 54.72 kB / 0.5838 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.075e-05/0.3088, allocations: 42.36 kB / 0.5838 GB, free: 25.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.3089, allocations: 9.344 kB / 0.5838 GB, free: 25.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.3091, allocations: 170.1 kB / 0.584 GB, free: 25.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.861e-05/0.3092, allocations: 39.25 kB / 0.584 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.081e-05/0.3092, allocations: 53.64 kB / 0.5841 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.3095, allocations: 235 kB / 0.5843 GB, free: 25.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.3095, allocations: 0 / 0.5843 GB, free: 25.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3095, allocations: 0 / 0.5843 GB, free: 25.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.3095, allocations: 0 / 0.5843 GB, free: 25.45 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003969/0.3099, allocations: 450.1 kB / 0.5847 GB, free: 25.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.675e-05/0.3099, allocations: 7.406 kB / 0.5847 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.31, allocations: 19.41 kB / 0.5848 GB, free: 25.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.3101, allocations: 207.8 kB / 0.585 GB, free: 24.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.3102, allocations: 11.05 kB / 0.585 GB, free: 24.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.3102, allocations: 16.28 kB / 0.585 GB, free: 24.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.3103, allocations: 83.28 kB / 0.5851 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.3103, allocations: 3.469 kB / 0.5851 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.3103, allocations: 4.938 kB / 0.5851 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.3104, allocations: 1.188 kB / 0.5851 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.661e-05/0.3104, allocations: 38.2 kB / 0.5851 GB, free: 24.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.3106, allocations: 229.7 kB / 0.5853 GB, free: 24.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.565e-05/0.3107, allocations: 79.17 kB / 0.5854 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.98e-05/0.3107, allocations: 61.97 kB / 0.5855 GB, free: 24.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.3108, allocations: 1.406 kB / 0.5855 GB, free: 24.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.3109, allocations: 106.2 kB / 0.5856 GB, free: 24.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.3109, allocations: 0 / 0.5856 GB, free: 24.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002841/0.3112, allocations: 187.8 kB / 0.5858 GB, free: 24.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.3112, allocations: 89.78 kB / 0.5858 GB, free: 24.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.419e-05/0.3113, allocations: 147.6 kB / 0.586 GB, free: 23.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.3114, allocations: 38.38 kB / 0.586 GB, free: 23.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.69e-05/0.3114, allocations: 101.4 kB / 0.5861 GB, free: 23.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.3114, allocations: 36.52 kB / 0.5861 GB, free: 23.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.236e-05/0.3115, allocations: 48.3 kB / 0.5862 GB, free: 23.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.908e-05/0.3116, allocations: 326.5 kB / 0.5865 GB, free: 23.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.803e-05/0.3116, allocations: 45.28 kB / 0.5865 GB, free: 23.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.3118, allocations: 208 kB / 0.5867 GB, free: 23.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.3119, allocations: 100.1 kB / 0.5868 GB, free: 23.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3119, allocations: 3.938 kB / 0.5868 GB, free: 23.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001896/0.3121, allocations: 157.8 kB / 0.587 GB, free: 23.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.3121, allocations: 5.219 kB / 0.587 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.3121, allocations: 2.875 kB / 0.587 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.3121, allocations: 2.281 kB / 0.587 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.376e-05/0.3122, allocations: 19.86 kB / 0.587 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.3122, allocations: 1.25 kB / 0.587 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.3125, allocations: 71.31 kB / 0.5871 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.3125, allocations: 8.031 kB / 0.5871 GB, free: 23 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.516e-05/0.3126, allocations: 142.8 kB / 0.5872 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/0.3126, allocations: 18.09 kB / 0.5873 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.3126, allocations: 12.72 kB / 0.5873 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.3126, allocations: 1.438 kB / 0.5873 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3126, allocations: 1.25 kB / 0.5873 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3126, allocations: 0 / 0.5873 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.399e-05/0.3127, allocations: 190.6 kB / 0.5875 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3127, allocations: 5.312 kB / 0.5875 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.162e-05/0.3128, allocations: 14.72 kB / 0.5875 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3128, allocations: 0 / 0.5875 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.3128, allocations: 8.359 kB / 0.5875 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3128, allocations: 1.344 kB / 0.5875 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3128, allocations: 0 / 0.5875 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.313, allocations: 178.9 kB / 0.5877 GB, free: 22.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.313, allocations: 91.67 kB / 0.5877 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.313, allocations: 1.656 kB / 0.5877 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.925e-05/0.3131, allocations: 3.562 kB / 0.5877 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.3131, allocations: 15.33 kB / 0.5878 GB, free: 22.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.3131, allocations: 2.156 kB / 0.5878 GB, free: 22.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.993e-05/0.3132, allocations: 118.4 kB / 0.5879 GB, free: 22.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3132, allocations: 0.875 kB / 0.5879 GB, free: 22.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.3135, allocations: 81.14 kB / 0.588 GB, free: 22.25 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001789/0.3137, allocations: 161.7 kB / 0.5881 GB, free: 22.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.3139, allocations: 162.1 kB / 0.5883 GB, free: 22.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3139, allocations: 0 / 0.5883 GB, free: 22.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.773e-05/0.314, allocations: 39.77 kB / 0.5883 GB, free: 22.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.3141, allocations: 17.58 kB / 0.5883 GB, free: 22.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.3144, allocations: 220.8 kB / 0.5885 GB, free: 21.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.3145, allocations: 0.7016 MB / 0.5892 GB, free: 21.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.551e-05/0.3146, allocations: 7.984 kB / 0.5892 GB, free: 21.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.941e-05/0.3146, allocations: 16.31 kB / 0.5892 GB, free: 21.12 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3146, allocations: 0.5312 kB / 0.5892 GB, free: 21.12 MB / 446.1 MB Notification: Performance of Templates: time 0.004279/0.3189, allocations: 2.519 MB / 0.5917 GB, free: 19.38 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)