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.001306/0.001306, allocations: 105.1 kB / 16.27 MB, free: 6.414 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.001317/0.001317, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.449/1.449, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8116/0.8116, allocations: 132.2 MB / 423.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 60.14 kB / 0.5024 GB, free: 11.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3807, allocations: 80.19 MB / 0.5807 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002349/0.383, allocations: 1.399 MB / 0.5821 GB, free: 26.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007429/0.3838, allocations: 0.5065 MB / 0.5826 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.746e-05/0.3839, allocations: 5.188 kB / 0.5826 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.116e-05/0.3839, allocations: 11.34 kB / 0.5826 GB, free: 26.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.79e-05/0.384, allocations: 10.61 kB / 0.5826 GB, free: 26.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006953/0.3847, allocations: 225.7 kB / 0.5828 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.3849, allocations: 142.5 kB / 0.583 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.623e-05/0.385, allocations: 4.344 kB / 0.583 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.332e-05/0.385, allocations: 61.23 kB / 0.583 GB, free: 25.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.733e-05/0.3851, allocations: 42.58 kB / 0.5831 GB, free: 25.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.3851, allocations: 10.72 kB / 0.5831 GB, free: 25.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002562/0.3854, allocations: 165.8 kB / 0.5832 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.506e-05/0.3855, allocations: 44.19 kB / 0.5833 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.044e-05/0.3856, allocations: 51.7 kB / 0.5833 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.3858, allocations: 236.1 kB / 0.5836 GB, free: 25.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3859, allocations: 0 / 0.5836 GB, free: 25.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3859, allocations: 1.562 kB / 0.5836 GB, free: 25.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.3859, allocations: 0 / 0.5836 GB, free: 25.62 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.0004958/0.3864, allocations: 450.1 kB / 0.584 GB, free: 25.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.3864, allocations: 10.81 kB / 0.584 GB, free: 25.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.771e-05/0.3865, allocations: 16.22 kB / 0.584 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.3867, allocations: 201 kB / 0.5842 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.3867, allocations: 9.781 kB / 0.5842 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.3867, allocations: 13.11 kB / 0.5842 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.3869, allocations: 84.45 kB / 0.5843 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3869, allocations: 2.344 kB / 0.5843 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3869, allocations: 7.875 kB / 0.5843 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3869, allocations: 1.219 kB / 0.5843 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.303e-05/0.387, allocations: 35.3 kB / 0.5844 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000187/0.3872, allocations: 235.9 kB / 0.5846 GB, free: 24.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.648e-05/0.3873, allocations: 84.48 kB / 0.5847 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.8e-05/0.3874, allocations: 56.53 kB / 0.5847 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.3874, allocations: 1.531 kB / 0.5847 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.3876, allocations: 114.6 kB / 0.5848 GB, free: 24.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.3876, allocations: 0 / 0.5848 GB, free: 24.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003395/0.3879, allocations: 190.8 kB / 0.585 GB, free: 24.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.388, allocations: 86.58 kB / 0.5851 GB, free: 24.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.3881, allocations: 155 kB / 0.5852 GB, free: 24.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.3881, allocations: 34.92 kB / 0.5853 GB, free: 24.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.3882, allocations: 102.7 kB / 0.5854 GB, free: 23.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.3882, allocations: 36.23 kB / 0.5854 GB, free: 23.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.517e-05/0.3883, allocations: 49.7 kB / 0.5854 GB, free: 23.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.868e-05/0.3884, allocations: 323.2 kB / 0.5858 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.416e-05/0.3884, allocations: 40.33 kB / 0.5858 GB, free: 23.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.3886, allocations: 200.2 kB / 0.586 GB, free: 23.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.3887, allocations: 101.7 kB / 0.5861 GB, free: 23.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3887, allocations: 0 / 0.5861 GB, free: 23.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002133/0.389, allocations: 167 kB / 0.5862 GB, free: 23.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.389, allocations: 5.781 kB / 0.5862 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/0.389, allocations: 3.531 kB / 0.5863 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.389, allocations: 1.75 kB / 0.5863 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.013e-05/0.3891, allocations: 10.2 kB / 0.5863 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3891, allocations: 3.312 kB / 0.5863 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.3894, allocations: 74.69 kB / 0.5863 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.3894, allocations: 4.688 kB / 0.5863 GB, free: 23.18 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 8.84e-05/0.3895, allocations: 145.7 kB / 0.5865 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.3895, allocations: 18.16 kB / 0.5865 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.3896, allocations: 12.5 kB / 0.5865 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.3896, allocations: 1.594 kB / 0.5865 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3896, allocations: 0 / 0.5865 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3896, allocations: 2.938 kB / 0.5865 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.3897, allocations: 190.7 kB / 0.5867 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3897, allocations: 3.938 kB / 0.5867 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.475e-05/0.3898, allocations: 5.594 kB / 0.5867 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3898, allocations: 2.594 kB / 0.5867 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.3898, allocations: 5.188 kB / 0.5867 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3898, allocations: 4.922 kB / 0.5867 GB, free: 22.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3898, allocations: 2.031 kB / 0.5867 GB, free: 22.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.39, allocations: 187 kB / 0.5869 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.052e-05/0.39, allocations: 92.11 kB / 0.587 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.3901, allocations: 2.281 kB / 0.587 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.308e-05/0.3901, allocations: 3.156 kB / 0.587 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.3902, allocations: 10.95 kB / 0.587 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.3902, allocations: 8.031 kB / 0.587 GB, free: 22.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.765e-05/0.3902, allocations: 116.4 kB / 0.5871 GB, free: 22.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3903, allocations: 1.594 kB / 0.5871 GB, free: 22.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003016/0.3906, allocations: 72.33 kB / 0.5872 GB, free: 22.43 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.0002119/0.3908, allocations: 161.5 kB / 0.5873 GB, free: 22.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002538/0.391, allocations: 168 kB / 0.5875 GB, free: 22.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3911, allocations: 1.219 kB / 0.5875 GB, free: 22.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.124e-05/0.3911, allocations: 44.3 kB / 0.5875 GB, free: 22.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.3913, allocations: 14.02 kB / 0.5876 GB, free: 22.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.3917, allocations: 253.7 kB / 0.5878 GB, free: 21.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.3918, allocations: 0.709 MB / 0.5885 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.211e-05/0.3918, allocations: 11.66 kB / 0.5885 GB, free: 21.26 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3919, allocations: 1.062 kB / 0.5885 GB, free: 21.26 MB / 446.1 MB Notification: Performance of Templates: time 0.003803/0.3957, allocations: 2.453 MB / 0.5909 GB, free: 19.72 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 -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)