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.002585/0.002585, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002856/0.002856, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 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.563/1.563, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 1.356/1.356, allocations: 154.8 MB / 414.4 MB, free: 460 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 178] 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 1.663e-06/1.663e-06, allocations: 0 / 0.5198 GB, free: 2.312 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.884e-05/3.051e-05, allocations: 4.406 kB / 0.5198 GB, free: 2.309 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002942/0.002973, allocations: 1.427 MB / 0.5212 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009335/0.003906, allocations: 476.4 kB / 0.5217 GB, free: 440 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.228e-05/0.003949, allocations: 4.219 kB / 0.5217 GB, free: 436 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 7.605e-05/0.004025, allocations: 7.875 kB / 0.5217 GB, free: 428 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.182e-05/0.004087, allocations: 17.06 kB / 0.5217 GB, free: 412 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007421/0.004829, allocations: 236.1 kB / 0.5219 GB, free: 176 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.005075, allocations: 151.7 kB / 0.5221 GB, free: 24 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.696e-05/0.005112, allocations: 5.281 kB / 0.5221 GB, free: 20 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.005252, allocations: 75.92 kB / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.665e-05/0.005338, allocations: 37.25 kB / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.867e-05/0.005377, allocations: 8 kB / 0.5222 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003381/0.005715, allocations: 195.6 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.676e-05/0.005792, allocations: 35.91 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.603e-05/0.005868, allocations: 36.69 kB / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004319/0.0063, allocations: 271.3 kB / 0.5227 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.006305, allocations: 5.844 kB / 0.5227 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.01e-07/0.006305, allocations: 0 / 0.5227 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.006311, allocations: 0 / 0.5227 GB, free: 15.37 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.0007072/0.007018, allocations: 483.5 kB / 0.5232 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.007054, allocations: 10.09 kB / 0.5232 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.606e-05/0.00712, allocations: 12.89 kB / 0.5232 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.007365, allocations: 156.4 kB / 0.5233 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.007381, allocations: 4.375 kB / 0.5233 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.007415, allocations: 16.31 kB / 0.5234 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.007571, allocations: 73.61 kB / 0.5234 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.007579, allocations: 1.656 kB / 0.5234 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.00759, allocations: 4.375 kB / 0.5234 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.007595, allocations: 384 / 0.5234 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.288e-05/0.007678, allocations: 27.91 kB / 0.5235 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002722/0.00795, allocations: 189.2 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.00809, allocations: 82.11 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.154e-05/0.008172, allocations: 48.48 kB / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.008184, allocations: 0 / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002093/0.008393, allocations: 112.8 kB / 0.5239 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 8.32e-07/0.008394, allocations: 0.9375 kB / 0.5239 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0003506/0.008745, allocations: 145.5 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.813e-05/0.008833, allocations: 90.3 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.009032, allocations: 215.3 kB / 0.5243 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/0.009076, allocations: 41.69 kB / 0.5243 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.009189, allocations: 151.2 kB / 0.5245 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.814e-05/0.009247, allocations: 36.23 kB / 0.5245 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.992e-05/0.009347, allocations: 65.14 kB / 0.5246 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002909/0.009638, allocations: 0.4962 MB / 0.5251 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.47e-05/0.009722, allocations: 31.98 kB / 0.5251 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005527/0.01027, allocations: 0.61 MB / 0.5257 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.01042, allocations: 90.31 kB / 0.5258 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01043, allocations: 1.719 kB / 0.5258 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002448/0.01067, allocations: 143.9 kB / 0.5259 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.01069, allocations: 4 kB / 0.5259 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/0.01071, allocations: 11.98 kB / 0.5259 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.01073, allocations: 5.5 kB / 0.5259 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.01084, allocations: 19.94 kB / 0.526 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.01085, allocations: 0 / 0.526 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.01107, allocations: 53.52 kB / 0.526 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.01108, allocations: 4 kB / 0.526 GB, free: 11.57 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 0.0001524/0.01123, allocations: 177.6 kB / 0.5262 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.01126, allocations: 22.81 kB / 0.5262 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.487e-05/0.0113, allocations: 16.7 kB / 0.5262 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.0113, allocations: 7.938 kB / 0.5262 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.01131, allocations: 0 / 0.5262 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01131, allocations: 0 / 0.5262 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.01148, allocations: 148.6 kB / 0.5264 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01148, allocations: 4 kB / 0.5264 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.571e-05/0.01151, allocations: 7.938 kB / 0.5264 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.01152, allocations: 2.75 kB / 0.5264 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.01153, allocations: 4 kB / 0.5264 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01153, allocations: 0 / 0.5264 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.01153, allocations: 3.938 kB / 0.5264 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.0118, allocations: 164 kB / 0.5265 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.813e-05/0.01182, allocations: 11.98 kB / 0.5266 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.01184, allocations: 11.97 kB / 0.5266 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.186e-05/0.01188, allocations: 4.688 kB / 0.5266 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.01193, allocations: 11.86 kB / 0.5266 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.01194, allocations: 5.156 kB / 0.5266 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001084/0.01205, allocations: 148.5 kB / 0.5267 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01205, allocations: 0 / 0.5267 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003038/0.01235, allocations: 80.58 kB / 0.5268 GB, free: 10.69 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.0003039/0.01266, allocations: 172.6 kB / 0.527 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002773/0.01293, allocations: 148.8 kB / 0.5271 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01293, allocations: 0 / 0.5271 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.368e-05/0.01301, allocations: 41.02 kB / 0.5272 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.01317, allocations: 14.48 kB / 0.5272 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004791/0.01365, allocations: 238.1 kB / 0.5274 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.01375, allocations: 85.95 kB / 0.5275 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.493e-05/0.01379, allocations: 6.391 kB / 0.5275 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.01382, allocations: 16.5 kB / 0.5275 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of SimCode: time 4.21e-07/0.01382, allocations: 0 / 0.5275 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of Templates: time 0.007144/0.02097, allocations: 2.697 MB / 0.5301 GB, free: 7.391 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: 6.102856206940487]