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.001072/0.001077, allocations: 117.8 kB / 16.37 MB, free: 6.004 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.001185/0.001185, allocations: 192.8 kB / 17.31 MB, free: 5.613 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.393/1.393, 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.8161/0.8161, allocations: 135.1 MB / 426.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 59.91 kB / 0.5067 GB, free: 7.719 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4084, allocations: 80.91 MB / 0.5858 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002498/0.4109, allocations: 1.398 MB / 0.5871 GB, free: 24.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008131/0.4118, allocations: 0.5069 MB / 0.5876 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.544e-05/0.4118, allocations: 1.75 kB / 0.5876 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.835e-05/0.4119, allocations: 5.125 kB / 0.5876 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.347e-05/0.412, allocations: 14.05 kB / 0.5876 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007902/0.4128, allocations: 235.7 kB / 0.5879 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.413, allocations: 145.5 kB / 0.588 GB, free: 23.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.948e-05/0.4131, allocations: 3.844 kB / 0.588 GB, free: 23.83 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.321e-05/0.4132, allocations: 64.42 kB / 0.5881 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.875e-05/0.4133, allocations: 43.05 kB / 0.5881 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.497e-05/0.4133, allocations: 12.44 kB / 0.5881 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002924/0.4136, allocations: 167 kB / 0.5883 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.31e-05/0.4137, allocations: 34.78 kB / 0.5883 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.15e-05/0.4138, allocations: 52 kB / 0.5884 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003943/0.4142, allocations: 229.7 kB / 0.5886 GB, free: 23.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4142, allocations: 0 / 0.5886 GB, free: 23.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4142, allocations: 1.312 kB / 0.5886 GB, free: 23.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.343e-06/0.4142, allocations: 4.828 kB / 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.0006335/0.4148, allocations: 455 kB / 0.589 GB, free: 23.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.4149, allocations: 10.14 kB / 0.589 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.817e-05/0.415, allocations: 12.97 kB / 0.589 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.4152, allocations: 212.2 kB / 0.5892 GB, free: 22.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.4152, allocations: 10.34 kB / 0.5893 GB, free: 22.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.4153, allocations: 9.344 kB / 0.5893 GB, free: 22.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.4154, allocations: 88.47 kB / 0.5894 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4154, allocations: 1.25 kB / 0.5894 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.4155, allocations: 3.938 kB / 0.5894 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.4155, allocations: 2.344 kB / 0.5894 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.535e-05/0.4156, allocations: 38.3 kB / 0.5894 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002325/0.4158, allocations: 235.1 kB / 0.5896 GB, free: 22.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.962e-05/0.4159, allocations: 75.22 kB / 0.5897 GB, free: 22.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.296e-05/0.416, allocations: 54.75 kB / 0.5897 GB, free: 22.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.416, allocations: 18.78 kB / 0.5898 GB, free: 22.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002266/0.4162, allocations: 101.1 kB / 0.5899 GB, free: 22.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.4162, allocations: 0 / 0.5899 GB, free: 22.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003422/0.4166, allocations: 197.3 kB / 0.59 GB, free: 21.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.4166, allocations: 81.7 kB / 0.5901 GB, free: 21.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.989e-05/0.4167, allocations: 146.5 kB / 0.5903 GB, free: 21.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.4168, allocations: 38.42 kB / 0.5903 GB, free: 21.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.4168, allocations: 100.5 kB / 0.5904 GB, free: 21.58 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.451e-05/0.4169, allocations: 44.48 kB / 0.5904 GB, free: 21.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.088e-05/0.417, allocations: 45.7 kB / 0.5905 GB, free: 21.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.898e-05/0.417, allocations: 323.8 kB / 0.5908 GB, free: 21.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.61e-05/0.4171, allocations: 39.98 kB / 0.5908 GB, free: 21.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.4172, allocations: 202.5 kB / 0.591 GB, free: 20.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.4174, allocations: 97.11 kB / 0.5911 GB, free: 20.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4174, allocations: 0 / 0.5911 GB, free: 20.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001888/0.4176, allocations: 169.4 kB / 0.5913 GB, free: 20.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.4176, allocations: 4 kB / 0.5913 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.4176, allocations: 4.656 kB / 0.5913 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.4176, allocations: 1.312 kB / 0.5913 GB, free: 20.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.606e-05/0.4177, allocations: 15.94 kB / 0.5913 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.4177, allocations: 0 / 0.5913 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.418, allocations: 80.45 kB / 0.5914 GB, free: 20.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.418, allocations: 4 kB / 0.5914 GB, free: 20.5 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 9.203e-05/0.4181, allocations: 137.8 kB / 0.5915 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/0.4181, allocations: 11.84 kB / 0.5915 GB, free: 20.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.01e-05/0.4182, allocations: 18.95 kB / 0.5915 GB, free: 20.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4182, allocations: 0 / 0.5915 GB, free: 20.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4182, allocations: 0 / 0.5915 GB, free: 20.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4182, allocations: 7.938 kB / 0.5915 GB, free: 20.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.933e-05/0.4183, allocations: 193.5 kB / 0.5917 GB, free: 20.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4183, allocations: 3.938 kB / 0.5917 GB, free: 20.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.939e-05/0.4183, allocations: 8.5 kB / 0.5917 GB, free: 20.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4183, allocations: 4.5 kB / 0.5918 GB, free: 20.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.4184, allocations: 0.5938 kB / 0.5918 GB, free: 20.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4184, allocations: 3.938 kB / 0.5918 GB, free: 20.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4184, allocations: 6.5 kB / 0.5918 GB, free: 20.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.4185, allocations: 169.9 kB / 0.5919 GB, free: 19.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.672e-05/0.4186, allocations: 100.8 kB / 0.592 GB, free: 19.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.4186, allocations: 4.812 kB / 0.592 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.642e-05/0.4186, allocations: 0 / 0.592 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.4187, allocations: 9.828 kB / 0.592 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.4187, allocations: 8 kB / 0.592 GB, free: 19.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.933e-05/0.4187, allocations: 113.5 kB / 0.5921 GB, free: 19.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4187, allocations: 0 / 0.5921 GB, free: 19.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002983/0.4191, allocations: 73.16 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.0001992/0.4193, allocations: 171.6 kB / 0.5924 GB, free: 19.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002194/0.4195, allocations: 163.3 kB / 0.5925 GB, free: 19.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4195, allocations: 0 / 0.5925 GB, free: 19.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.242e-05/0.4196, allocations: 47.92 kB / 0.5926 GB, free: 19.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.4197, allocations: 13.62 kB / 0.5926 GB, free: 19.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.4201, allocations: 220.2 kB / 0.5928 GB, free: 18.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.4203, allocations: 0.7051 MB / 0.5935 GB, free: 18.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.85e-05/0.4203, allocations: 13.61 kB / 0.5935 GB, free: 18.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.022e-05/0.4203, allocations: 15.44 kB / 0.5935 GB, free: 18.15 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4203, allocations: 0 / 0.5935 GB, free: 18.15 MB / 446.1 MB Notification: Performance of Templates: time 0.004642/0.425, allocations: 2.51 MB / 0.596 GB, free: 15.74 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)