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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008074/0.0008074, allocations: 69.98 kB / 20.65 MB, free: 3.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.032/1.032, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7827/0.7827, allocations: 154.9 MB / 415.9 MB, free: 264 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.078e-06/4.078e-06, allocations: 4 kB / 0.5219 GB, free: 1.574 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.811e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.57 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.001969/0.001997, allocations: 1.439 MB / 0.5233 GB, free: 144 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005985/0.002596, allocations: 472.6 kB / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.00263, allocations: 0 / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 7.25e-05/0.002703, allocations: 7.922 kB / 0.5237 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.965e-05/0.002762, allocations: 11.88 kB / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005884/0.003351, allocations: 244.7 kB / 0.524 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.003514, allocations: 155.7 kB / 0.5241 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.941e-05/0.003553, allocations: 4 kB / 0.5241 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.595e-05/0.003629, allocations: 77.17 kB / 0.5242 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.00369, allocations: 35.94 kB / 0.5242 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.003712, allocations: 12.62 kB / 0.5242 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.003934, allocations: 183.6 kB / 0.5244 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.003983, allocations: 36.66 kB / 0.5244 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.004028, allocations: 41.25 kB / 0.5245 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.004295, allocations: 251.3 kB / 0.5247 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.004298, allocations: 0 / 0.5247 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.22e-07/0.004299, allocations: 0 / 0.5247 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.004303, allocations: 1 kB / 0.5247 GB, free: 14.64 MB / 0.4948 GB 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.0004225/0.004725, allocations: 475.8 kB / 0.5252 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.004757, allocations: 15.56 kB / 0.5252 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.004798, allocations: 12.89 kB / 0.5252 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.004943, allocations: 156.4 kB / 0.5254 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.004956, allocations: 4.375 kB / 0.5254 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.004975, allocations: 12.38 kB / 0.5254 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.751e-05/0.005063, allocations: 65.61 kB / 0.5254 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.00507, allocations: 192 / 0.5254 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.005077, allocations: 4.312 kB / 0.5254 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.005083, allocations: 4.375 kB / 0.5254 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.857e-05/0.005111, allocations: 20.42 kB / 0.5255 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.005286, allocations: 148.8 kB / 0.5256 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.7e-05/0.005353, allocations: 74.78 kB / 0.5257 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.979e-05/0.005383, allocations: 32.02 kB / 0.5257 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.561e-06/0.005388, allocations: 0.9688 kB / 0.5257 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/0.005499, allocations: 104.4 kB / 0.5258 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 9.11e-07/0.0055, allocations: 1.469 kB / 0.5258 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0001916/0.005691, allocations: 117.8 kB / 0.5259 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.005735, allocations: 89.11 kB / 0.526 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.909e-05/0.005825, allocations: 203 kB / 0.5262 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.005844, allocations: 38.42 kB / 0.5262 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.111e-05/0.005895, allocations: 143.2 kB / 0.5264 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/0.005939, allocations: 40.28 kB / 0.5264 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.005991, allocations: 53.31 kB / 0.5265 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.006109, allocations: 0.5078 MB / 0.527 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.144e-05/0.006131, allocations: 12 kB / 0.527 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004625/0.006593, allocations: 0.5848 MB / 0.5275 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.973e-05/0.006663, allocations: 75.05 kB / 0.5276 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.006665, allocations: 0 / 0.5276 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001177/0.006782, allocations: 118 kB / 0.5277 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.006796, allocations: 4.719 kB / 0.5277 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.006815, allocations: 8 kB / 0.5277 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.006824, allocations: 0.6562 kB / 0.5277 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.196e-05/0.006896, allocations: 25.36 kB / 0.5278 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.269e-06/0.0069, allocations: 3.938 kB / 0.5278 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.007005, allocations: 41.73 kB / 0.5278 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.007013, allocations: 4 kB / 0.5278 GB, free: 11.08 MB / 0.4948 GB 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.627e-05/0.007109, allocations: 168.6 kB / 0.528 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.007124, allocations: 18.66 kB / 0.528 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.007148, allocations: 12.78 kB / 0.528 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.007151, allocations: 0 / 0.528 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.007154, allocations: 11.88 kB / 0.528 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.007157, allocations: 0 / 0.528 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.669e-05/0.007244, allocations: 121.2 kB / 0.5281 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.007245, allocations: 0 / 0.5281 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.371e-05/0.007269, allocations: 8 kB / 0.5281 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.007271, allocations: 1.781 kB / 0.5281 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.007277, allocations: 4 kB / 0.5281 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.007279, allocations: 4 kB / 0.5281 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.00728, allocations: 0 / 0.5281 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.007404, allocations: 148.9 kB / 0.5283 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.007415, allocations: 11.89 kB / 0.5283 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.007428, allocations: 7.922 kB / 0.5283 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.18e-05/0.00745, allocations: 4.781 kB / 0.5283 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.007479, allocations: 11.98 kB / 0.5283 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.007483, allocations: 0.6562 kB / 0.5283 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001154/0.007598, allocations: 154.1 kB / 0.5285 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007598, allocations: 0 / 0.5285 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002017/0.0078, allocations: 78.86 kB / 0.5285 GB, free: 10.27 MB / 0.4948 GB 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.000175/0.007975, allocations: 171 kB / 0.5287 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001441/0.008119, allocations: 127.3 kB / 0.5288 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.008121, allocations: 0 / 0.5288 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.919e-05/0.00815, allocations: 31.61 kB / 0.5289 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001163/0.008267, allocations: 11.98 kB / 0.5289 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002591/0.008526, allocations: 213.6 kB / 0.5291 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.325e-05/0.008559, allocations: 67.34 kB / 0.5291 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3e-05/0.008589, allocations: 8.719 kB / 0.5291 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.706e-05/0.008666, allocations: 94.19 kB / 0.5292 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.008667, allocations: 0 / 0.5292 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of Templates: time 0.004627/0.01329, allocations: 2.933 MB / 0.5321 GB, free: 6.746 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8332942808046937]