Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 107.6 kB / 16.37 MB, free: 6.477 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.001499/0.001499, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7696/0.7696, allocations: 135.1 MB / 426.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 59.91 kB / 0.5068 GB, free: 7.695 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.391, allocations: 80.9 MB / 0.5858 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002629/0.3937, allocations: 1.481 MB / 0.5872 GB, free: 24.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000952/0.3947, allocations: 0.6952 MB / 0.5879 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.335e-05/0.3947, allocations: 2.031 kB / 0.5879 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.931e-05/0.3948, allocations: 13.27 kB / 0.5879 GB, free: 23.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.707e-05/0.3949, allocations: 12.41 kB / 0.5879 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008691/0.3957, allocations: 347.1 kB / 0.5882 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.3959, allocations: 170.7 kB / 0.5884 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.751e-05/0.396, allocations: 5.719 kB / 0.5884 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.02e-05/0.3961, allocations: 73.16 kB / 0.5885 GB, free: 23.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.658e-05/0.3962, allocations: 49.48 kB / 0.5885 GB, free: 23.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.3962, allocations: 12.97 kB / 0.5885 GB, free: 23.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002988/0.3965, allocations: 251.5 kB / 0.5888 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.622e-05/0.3966, allocations: 33.5 kB / 0.5888 GB, free: 23.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.641e-05/0.3967, allocations: 67.64 kB / 0.5889 GB, free: 23.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.397, allocations: 304.7 kB / 0.5892 GB, free: 23.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.397, allocations: 0 / 0.5892 GB, free: 23.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.397, allocations: 1.875 kB / 0.5892 GB, free: 23.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.397, allocations: 3.938 kB / 0.5892 GB, free: 23.05 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004765/0.3975, allocations: 471 kB / 0.5896 GB, free: 22.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.3975, allocations: 10.14 kB / 0.5896 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/0.3976, allocations: 12.84 kB / 0.5896 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.3978, allocations: 219.1 kB / 0.5898 GB, free: 22.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.3978, allocations: 4.375 kB / 0.5899 GB, free: 22.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.3978, allocations: 13.81 kB / 0.5899 GB, free: 22.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.398, allocations: 96.73 kB / 0.59 GB, free: 22.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.398, allocations: 1.094 kB / 0.59 GB, free: 22.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.398, allocations: 7.938 kB / 0.59 GB, free: 22.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-06/0.398, allocations: 4.625 kB / 0.59 GB, free: 22.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.41e-05/0.3981, allocations: 39.97 kB / 0.59 GB, free: 22.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.3983, allocations: 261.9 kB / 0.5903 GB, free: 21.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.3984, allocations: 112.5 kB / 0.5904 GB, free: 21.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.105e-05/0.3985, allocations: 68.08 kB / 0.5904 GB, free: 21.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.3985, allocations: 4.562 kB / 0.5904 GB, free: 21.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.3987, allocations: 148.7 kB / 0.5906 GB, free: 21.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.222e-06/0.3987, allocations: 0 / 0.5906 GB, free: 21.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003195/0.399, allocations: 218.8 kB / 0.5908 GB, free: 21.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.3991, allocations: 115.3 kB / 0.5909 GB, free: 21.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.155e-05/0.3992, allocations: 141.4 kB / 0.591 GB, free: 20.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.3992, allocations: 37.7 kB / 0.5911 GB, free: 20.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.633e-05/0.3992, allocations: 92.7 kB / 0.5912 GB, free: 20.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.388e-05/0.3993, allocations: 64.05 kB / 0.5912 GB, free: 20.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.194e-05/0.3994, allocations: 59.58 kB / 0.5913 GB, free: 20.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.508e-05/0.3994, allocations: 330.8 kB / 0.5916 GB, free: 20.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.472e-05/0.3995, allocations: 44.27 kB / 0.5916 GB, free: 20.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.3997, allocations: 187 kB / 0.5918 GB, free: 20.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.3998, allocations: 124.2 kB / 0.5919 GB, free: 19.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3998, allocations: 1.438 kB / 0.5919 GB, free: 19.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002236/0.4001, allocations: 201.9 kB / 0.5921 GB, free: 19.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.4001, allocations: 8 kB / 0.5921 GB, free: 19.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/0.4001, allocations: 7.938 kB / 0.5921 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.4001, allocations: 6.266 kB / 0.5921 GB, free: 19.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.668e-05/0.4002, allocations: 15.94 kB / 0.5922 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.4002, allocations: 0 / 0.5922 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.4004, allocations: 54.8 kB / 0.5922 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.4004, allocations: 9.562 kB / 0.5922 GB, free: 19.62 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.818e-05/0.4005, allocations: 140 kB / 0.5924 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.4006, allocations: 13.56 kB / 0.5924 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.836e-05/0.4006, allocations: 20.66 kB / 0.5924 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.4006, allocations: 4 kB / 0.5924 GB, free: 19.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4006, allocations: 4 kB / 0.5924 GB, free: 19.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.4006, allocations: 3.984 kB / 0.5924 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.4007, allocations: 208.7 kB / 0.5926 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4007, allocations: 0 / 0.5926 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.063e-05/0.4008, allocations: 11.98 kB / 0.5926 GB, free: 19.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.4008, allocations: 4 kB / 0.5926 GB, free: 19.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.4008, allocations: 4 kB / 0.5926 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.4008, allocations: 7.938 kB / 0.5926 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4008, allocations: 144 / 0.5926 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.401, allocations: 212 kB / 0.5928 GB, free: 18.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/0.4011, allocations: 93.45 kB / 0.5929 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.4011, allocations: 4.562 kB / 0.5929 GB, free: 18.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.829e-05/0.4011, allocations: 8.5 kB / 0.5929 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.4012, allocations: 12.86 kB / 0.5929 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.4012, allocations: 4 kB / 0.5929 GB, free: 18.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.382e-05/0.4013, allocations: 107.9 kB / 0.593 GB, free: 18.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4013, allocations: 3.938 kB / 0.5931 GB, free: 18.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003122/0.4016, allocations: 109.2 kB / 0.5932 GB, free: 18.57 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002292/0.4018, allocations: 194 kB / 0.5933 GB, free: 18.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002671/0.4021, allocations: 218.2 kB / 0.5935 GB, free: 18.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4021, allocations: 0 / 0.5935 GB, free: 18.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.939e-05/0.4022, allocations: 57.73 kB / 0.5936 GB, free: 18.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.4024, allocations: 11.98 kB / 0.5936 GB, free: 18.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003505/0.4027, allocations: 242 kB / 0.5938 GB, free: 17.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.4029, allocations: 0.7099 MB / 0.5945 GB, free: 17.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.044e-05/0.4029, allocations: 12.88 kB / 0.5946 GB, free: 17.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.221e-05/0.4029, allocations: 11.44 kB / 0.5946 GB, free: 17.05 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4029, allocations: 0 / 0.5946 GB, free: 17.05 MB / 446.1 MB Notification: Performance of Templates: time 0.004916/0.4079, allocations: 3.085 MB / 0.5976 GB, free: 14.08 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)