Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001226/0.001226, allocations: 111.3 kB / 16.37 MB, free: 6.469 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.00109/0.00109, allocations: 192.6 kB / 17.31 MB, free: 5.828 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.239/1.239, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7555/0.7555, allocations: 135.1 MB / 426.3 MB, free: 4.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 63.89 kB / 0.5067 GB, free: 7.742 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2979, allocations: 80.91 MB / 0.5858 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.00223/0.3002, allocations: 1.408 MB / 0.5871 GB, free: 24.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007099/0.3009, allocations: 0.4959 MB / 0.5876 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.094e-05/0.301, allocations: 1 kB / 0.5876 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.937e-05/0.301, allocations: 10.27 kB / 0.5876 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.796e-05/0.3011, allocations: 12.06 kB / 0.5876 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006454/0.3017, allocations: 234.7 kB / 0.5879 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.3019, allocations: 152.5 kB / 0.588 GB, free: 23.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.302, allocations: 4.719 kB / 0.588 GB, free: 23.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.793e-05/0.3021, allocations: 56.72 kB / 0.5881 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.07e-05/0.3021, allocations: 43.45 kB / 0.5881 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.3022, allocations: 10.03 kB / 0.5881 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/0.3024, allocations: 171.6 kB / 0.5883 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.053e-05/0.3025, allocations: 34.97 kB / 0.5883 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.667e-05/0.3025, allocations: 48.2 kB / 0.5884 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.3028, allocations: 237.8 kB / 0.5886 GB, free: 23.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.3029, allocations: 1.562 kB / 0.5886 GB, free: 23.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3029, allocations: 1 kB / 0.5886 GB, free: 23.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.3029, allocations: 0 / 0.5886 GB, free: 23.48 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.0004839/0.3034, allocations: 455.7 kB / 0.589 GB, free: 23.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.3034, allocations: 10.67 kB / 0.589 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.3035, allocations: 11.94 kB / 0.589 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.3036, allocations: 209.4 kB / 0.5892 GB, free: 22.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3037, allocations: 10.42 kB / 0.5893 GB, free: 22.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.3037, allocations: 14.88 kB / 0.5893 GB, free: 22.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.3038, allocations: 79.27 kB / 0.5893 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3038, allocations: 192 / 0.5893 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3039, allocations: 10.81 kB / 0.5894 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3039, allocations: 0 / 0.5894 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.553e-05/0.3039, allocations: 36.02 kB / 0.5894 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.3041, allocations: 229.8 kB / 0.5896 GB, free: 22.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.631e-05/0.3042, allocations: 84.22 kB / 0.5897 GB, free: 22.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.543e-05/0.3043, allocations: 59.78 kB / 0.5897 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.3043, allocations: 0 / 0.5897 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.3045, allocations: 115 kB / 0.5899 GB, free: 22.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.042e-06/0.3045, allocations: 0 / 0.5899 GB, free: 22.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002656/0.3047, allocations: 189.4 kB / 0.59 GB, free: 22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.3048, allocations: 89.72 kB / 0.5901 GB, free: 21.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.546e-05/0.3049, allocations: 146.6 kB / 0.5903 GB, free: 21.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.3049, allocations: 37.69 kB / 0.5903 GB, free: 21.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.305, allocations: 100.5 kB / 0.5904 GB, free: 21.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.305, allocations: 39.45 kB / 0.5904 GB, free: 21.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.895e-05/0.3051, allocations: 49.7 kB / 0.5905 GB, free: 21.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.534e-05/0.3051, allocations: 328 kB / 0.5908 GB, free: 21.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.245e-05/0.3052, allocations: 39.97 kB / 0.5908 GB, free: 21.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.3053, allocations: 203.1 kB / 0.591 GB, free: 20.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.3054, allocations: 96.94 kB / 0.5911 GB, free: 20.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3054, allocations: 0 / 0.5911 GB, free: 20.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001663/0.3056, allocations: 160.7 kB / 0.5913 GB, free: 20.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.3056, allocations: 8 kB / 0.5913 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.3056, allocations: 4 kB / 0.5913 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3056, allocations: 8.844 kB / 0.5913 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.693e-05/0.3057, allocations: 11.98 kB / 0.5913 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3057, allocations: 4.625 kB / 0.5913 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.306, allocations: 70.59 kB / 0.5914 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.306, allocations: 9.031 kB / 0.5914 GB, free: 20.52 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.428e-05/0.3061, allocations: 142.7 kB / 0.5915 GB, free: 20.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.3061, allocations: 11.84 kB / 0.5915 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.3061, allocations: 13.34 kB / 0.5915 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3061, allocations: 0 / 0.5915 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3061, allocations: 4.75 kB / 0.5915 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3061, allocations: 0 / 0.5915 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.528e-05/0.3062, allocations: 199.2 kB / 0.5917 GB, free: 20.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3062, allocations: 3.938 kB / 0.5917 GB, free: 20.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.893e-05/0.3063, allocations: 4 kB / 0.5917 GB, free: 20.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3063, allocations: 0 / 0.5917 GB, free: 20.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.3063, allocations: 11.98 kB / 0.5918 GB, free: 20.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3063, allocations: 1.406 kB / 0.5918 GB, free: 20.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3063, allocations: 0 / 0.5918 GB, free: 20.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.3065, allocations: 182.9 kB / 0.5919 GB, free: 19.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.3065, allocations: 94.95 kB / 0.592 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.3065, allocations: 0 / 0.592 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.684e-05/0.3066, allocations: 4 kB / 0.592 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.3066, allocations: 11.98 kB / 0.592 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-06/0.3066, allocations: 0 / 0.592 GB, free: 19.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.581e-05/0.3067, allocations: 116.2 kB / 0.5921 GB, free: 19.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3067, allocations: 0 / 0.5921 GB, free: 19.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.3069, allocations: 83.92 kB / 0.5922 GB, free: 19.56 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.0001786/0.3071, allocations: 157.1 kB / 0.5924 GB, free: 19.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001873/0.3073, allocations: 159.8 kB / 0.5925 GB, free: 19.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3073, allocations: 4.656 kB / 0.5925 GB, free: 19.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.011e-05/0.3074, allocations: 48.11 kB / 0.5926 GB, free: 19.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.3075, allocations: 15.89 kB / 0.5926 GB, free: 19.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003044/0.3079, allocations: 215.5 kB / 0.5928 GB, free: 18.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.916e-05/0.308, allocations: 0.7095 MB / 0.5935 GB, free: 18.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.416e-05/0.308, allocations: 8.656 kB / 0.5935 GB, free: 18.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.831e-05/0.308, allocations: 16.12 kB / 0.5935 GB, free: 18.17 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.308, allocations: 4 kB / 0.5935 GB, free: 18.17 MB / 446.1 MB Notification: Performance of Templates: time 0.004146/0.3122, allocations: 2.507 MB / 0.596 GB, free: 15.75 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)