Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 175.5 kB / 7.654 MB, free: 1.395 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9414/0.9414, allocations: 130.7 MB / 138.8 MB, free: 3.551 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 221.5 MB / 391.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009876/0.0009873, allocations: 104.8 kB / 473.9 MB, free: 4.461 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.609e-05/1.612e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5155/0.5156, allocations: 81.57 MB / 0.6282 GB, free: 42.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1641/0.6797, allocations: 110.8 MB / 0.7364 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.68, allocations: 71.95 kB / 0.7364 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01445/0.6945, allocations: 5.014 MB / 0.7413 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6946, allocations: 0 / 0.7413 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.6946, allocations: 4 kB / 0.7413 GB, free: 10.86 MB / 0.5261 GB 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.000618/0.6952, allocations: 450.1 kB / 0.7418 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.6953, allocations: 8.031 kB / 0.7418 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.81e-05/0.6953, allocations: 19.84 kB / 0.7418 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.6957, allocations: 224.3 kB / 0.742 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.6957, allocations: 4 kB / 0.742 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.6957, allocations: 12 kB / 0.742 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000126/0.6959, allocations: 39.98 kB / 0.7421 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.696, allocations: 92.17 kB / 0.7421 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.6961, allocations: 0 / 0.7421 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.6961, allocations: 0 / 0.7421 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.6961, allocations: 7.984 kB / 0.7421 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.6964, allocations: 227.8 kB / 0.7424 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.6965, allocations: 103.8 kB / 0.7425 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.866e-05/0.6966, allocations: 74.73 kB / 0.7425 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.6967, allocations: 0 / 0.7425 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002204/0.6969, allocations: 130.5 kB / 0.7427 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=21): time 1.192e-06/0.6969, allocations: 3.938 kB / 0.7427 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21): time 0.0004347/0.6973, allocations: 177.4 kB / 0.7428 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/0.6974, allocations: 118.8 kB / 0.7429 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.6975, allocations: 126.4 kB / 0.7431 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.6976, allocations: 41.62 kB / 0.7431 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.125e-05/0.6977, allocations: 92.7 kB / 0.7432 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.364e-05/0.6977, allocations: 63.19 kB / 0.7433 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.924e-06/0.6977, allocations: 0 / 0.7433 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.6979, allocations: 326.8 kB / 0.7436 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.367e-05/0.698, allocations: 44.28 kB / 0.7436 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.6982, allocations: 192.8 kB / 0.7438 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.6984, allocations: 83.53 kB / 0.7439 GB, free: 7.949 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.6984, allocations: 3.953 kB / 0.7439 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003185/0.6987, allocations: 185.3 kB / 0.7441 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.6988, allocations: 4 kB / 0.7441 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-05/0.6988, allocations: 8 kB / 0.7441 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.6988, allocations: 0 / 0.7441 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.236e-05/0.6989, allocations: 19.92 kB / 0.7441 GB, free: 7.727 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.6989, allocations: 0 / 0.7441 GB, free: 7.727 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.6991, allocations: 51.8 kB / 0.7441 GB, free: 7.676 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.6992, allocations: 12 kB / 0.7441 GB, free: 7.664 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.6993, allocations: 111.2 kB / 0.7443 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.6993, allocations: 11.86 kB / 0.7443 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.105e-05/0.6994, allocations: 24.55 kB / 0.7443 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.6994, allocations: 4 kB / 0.7443 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.6994, allocations: 0 / 0.7443 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.6994, allocations: 7.938 kB / 0.7443 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.6996, allocations: 178 kB / 0.7445 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6996, allocations: 0 / 0.7445 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.571e-05/0.6996, allocations: 15.98 kB / 0.7445 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.6997, allocations: 3.953 kB / 0.7445 GB, free: 7.273 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.6997, allocations: 4 kB / 0.7445 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.6997, allocations: 0 / 0.7445 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6997, allocations: 0 / 0.7445 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/0.7, allocations: 240.5 kB / 0.7447 GB, free: 7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.7001, allocations: 92.91 kB / 0.7448 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.7001, allocations: 4 kB / 0.7448 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.416e-05/0.7002, allocations: 4 kB / 0.7448 GB, free: 6.883 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.7003, allocations: 11.98 kB / 0.7448 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.7003, allocations: 8.141 kB / 0.7448 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.835e-05/0.7004, allocations: 104.5 kB / 0.7449 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7004, allocations: 3.938 kB / 0.7449 GB, free: 6.758 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003952/0.7008, allocations: 107.9 kB / 0.745 GB, free: 6.652 MB / 0.5261 GB 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003395/0.7011, allocations: 216.6 kB / 0.7452 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003002/0.7014, allocations: 201.4 kB / 0.7454 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7014, allocations: 0 / 0.7454 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.966e-05/0.7015, allocations: 51.98 kB / 0.7455 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.7017, allocations: 23.77 kB / 0.7455 GB, free: 6.145 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.702, allocations: 171.2 kB / 0.7457 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.7024, allocations: 0.7123 MB / 0.7464 GB, free: 5.203 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.78e-05/0.7024, allocations: 8.891 kB / 0.7464 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.7025, allocations: 19.44 kB / 0.7464 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/0.7025, allocations: 0 / 0.7464 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of Templates: time 0.005743/0.7082, allocations: 2.751 MB / 0.7491 GB, free: 2.449 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)