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.00115/0.00115, allocations: 93.06 kB / 19.65 MB, free: 276 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.001333/0.001333, allocations: 169 kB / 23.02 MB, free: 1.547 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.004/1.004, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.7914/0.7914, allocations: 154.9 MB / 414.8 MB, free: 412 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 1.372e-06/1.372e-06, allocations: 1.094 kB / 0.5206 GB, free: 1.91 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/1.989e-05, allocations: 6.797 kB / 0.5206 GB, free: 1.906 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.001736/0.001756, allocations: 1.451 MB / 0.5221 GB, free: 476 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006279/0.002384, allocations: 478.2 kB / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.606e-05/0.00242, allocations: 0 / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 8.42e-05/0.002505, allocations: 16.36 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.329e-05/0.002568, allocations: 8.969 kB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006608/0.003229, allocations: 244.3 kB / 0.5228 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.003408, allocations: 155.7 kB / 0.5229 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.003452, allocations: 4 kB / 0.5229 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.105e-05/0.003533, allocations: 72.56 kB / 0.523 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.449e-05/0.003597, allocations: 41.52 kB / 0.523 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.003621, allocations: 8 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.003852, allocations: 187.7 kB / 0.5232 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.242e-05/0.003904, allocations: 35.92 kB / 0.5233 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.843e-05/0.003963, allocations: 40.89 kB / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.004232, allocations: 247.4 kB / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.004234, allocations: 0.9062 kB / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.71e-07/0.004235, allocations: 0 / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.387e-06/0.004239, allocations: 0 / 0.5235 GB, free: 14.96 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.0004622/0.004701, allocations: 481 kB / 0.524 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.004735, allocations: 8.031 kB / 0.524 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.494e-05/0.00479, allocations: 21.7 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.004943, allocations: 149.6 kB / 0.5242 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.004956, allocations: 8.906 kB / 0.5242 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.004974, allocations: 8.375 kB / 0.5242 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.005089, allocations: 74.45 kB / 0.5243 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.005097, allocations: 192 / 0.5243 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.005107, allocations: 1 kB / 0.5243 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.005115, allocations: 384 / 0.5243 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.124e-05/0.005156, allocations: 24.36 kB / 0.5243 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.005319, allocations: 177.2 kB / 0.5244 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.254e-05/0.005401, allocations: 74.22 kB / 0.5245 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.275e-05/0.005444, allocations: 34.44 kB / 0.5245 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.005452, allocations: 8.062 kB / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001172/0.005569, allocations: 104.3 kB / 0.5247 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 2.715e-06/0.005572, allocations: 3.984 kB / 0.5247 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0002451/0.005817, allocations: 121.5 kB / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.005864, allocations: 85.09 kB / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.005973, allocations: 211.7 kB / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.005994, allocations: 34.7 kB / 0.5251 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.573e-05/0.00605, allocations: 147.2 kB / 0.5252 GB, free: 13 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.006089, allocations: 43.72 kB / 0.5253 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/0.006146, allocations: 51.89 kB / 0.5253 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.006275, allocations: 0.4967 MB / 0.5258 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.665e-05/0.006312, allocations: 20.86 kB / 0.5258 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.00658, allocations: 0.5982 MB / 0.5264 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.292e-05/0.006673, allocations: 74.36 kB / 0.5265 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.006675, allocations: 1.562 kB / 0.5265 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001397/0.006815, allocations: 121.5 kB / 0.5266 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.006828, allocations: 4 kB / 0.5266 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.006848, allocations: 7.984 kB / 0.5266 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.006864, allocations: 4.906 kB / 0.5266 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.847e-05/0.006962, allocations: 19.94 kB / 0.5266 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.006969, allocations: 0 / 0.5266 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.007094, allocations: 57.95 kB / 0.5267 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.007102, allocations: 4.781 kB / 0.5267 GB, free: 11.31 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.838e-05/0.0072, allocations: 169.9 kB / 0.5269 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.007216, allocations: 15.91 kB / 0.5269 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.007244, allocations: 16.7 kB / 0.5269 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.007252, allocations: 7.938 kB / 0.5269 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.007257, allocations: 2.75 kB / 0.5269 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.007261, allocations: 3.938 kB / 0.5269 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.007362, allocations: 148.5 kB / 0.527 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.007363, allocations: 0 / 0.527 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.107e-05/0.007384, allocations: 4 kB / 0.527 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.007387, allocations: 4 kB / 0.5271 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.007397, allocations: 4 kB / 0.5271 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.007399, allocations: 2.312 kB / 0.5271 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.007402, allocations: 7.938 kB / 0.5271 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.007546, allocations: 144 kB / 0.5272 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-06/0.007556, allocations: 7.953 kB / 0.5272 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.007577, allocations: 11.92 kB / 0.5272 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.185e-05/0.007599, allocations: 4 kB / 0.5272 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.007638, allocations: 12.67 kB / 0.5272 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.007643, allocations: 4 kB / 0.5272 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.52e-05/0.007698, allocations: 146.5 kB / 0.5274 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007698, allocations: 0 / 0.5274 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002256/0.007924, allocations: 76.52 kB / 0.5275 GB, free: 10.47 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.0002002/0.008124, allocations: 176.7 kB / 0.5276 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002023/0.008326, allocations: 134.9 kB / 0.5278 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.008328, allocations: 0 / 0.5278 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.843e-05/0.008367, allocations: 35.61 kB / 0.5278 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.008492, allocations: 14.02 kB / 0.5278 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/0.008798, allocations: 215.5 kB / 0.528 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.759e-05/0.008836, allocations: 67.34 kB / 0.5281 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.14e-05/0.008867, allocations: 15.89 kB / 0.5281 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.231e-05/0.008889, allocations: 16.5 kB / 0.5281 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.00889, allocations: 0 / 0.5281 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of Templates: time 0.004618/0.01351, allocations: 2.914 MB / 0.5309 GB, free: 7.023 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.7387915048748255]