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.001064/0.001064, allocations: 93.06 kB / 19.65 MB, free: 280 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.001395/0.001395, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.044/1.044, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7746/0.7746, allocations: 154.8 MB / 414.7 MB, free: 484 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.573e-06/1.573e-06, allocations: 0 / 0.5205 GB, free: 2 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.422e-05, allocations: 4 kB / 0.5205 GB, free: 1.996 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.001884/0.001908, allocations: 1.468 MB / 0.5219 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006128/0.002521, allocations: 475.8 kB / 0.5224 GB, free: 76 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.002555, allocations: 0 / 0.5224 GB, free: 76 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 7.012e-05/0.002625, allocations: 3.938 kB / 0.5224 GB, free: 72 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.972e-05/0.002685, allocations: 17.67 kB / 0.5224 GB, free: 56 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006833/0.003368, allocations: 239.2 kB / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.003548, allocations: 157.5 kB / 0.5228 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.178e-05/0.00358, allocations: 0 / 0.5228 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.453e-05/0.003664, allocations: 79.88 kB / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.476e-05/0.003729, allocations: 31.95 kB / 0.5229 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.003752, allocations: 12.75 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002489/0.004001, allocations: 191.7 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.362e-05/0.004055, allocations: 33.31 kB / 0.5231 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.628e-05/0.004111, allocations: 39.91 kB / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.004388, allocations: 247.3 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004391, allocations: 1.344 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.31e-07/0.004392, allocations: 0 / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.004396, allocations: 0 / 0.5234 GB, free: 15.05 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.0004588/0.004855, allocations: 481.3 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.004887, allocations: 12.03 kB / 0.5239 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.229e-05/0.004939, allocations: 12.89 kB / 0.5239 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.005092, allocations: 156.4 kB / 0.524 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.005107, allocations: 10.94 kB / 0.524 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.005128, allocations: 12.36 kB / 0.5241 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.005248, allocations: 69.61 kB / 0.5241 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.00526, allocations: 192 / 0.5241 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.005268, allocations: 384 / 0.5241 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.005277, allocations: 4.375 kB / 0.5241 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.232e-05/0.005319, allocations: 31.8 kB / 0.5242 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.005491, allocations: 168.9 kB / 0.5243 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.335e-05/0.005575, allocations: 70.7 kB / 0.5244 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.562e-05/0.00562, allocations: 44.42 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.005627, allocations: 0 / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/0.005763, allocations: 109.9 kB / 0.5245 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.005764, allocations: 0 / 0.5245 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0002459/0.00601, allocations: 117.6 kB / 0.5247 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.006053, allocations: 85.11 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.006156, allocations: 212.2 kB / 0.5249 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.006179, allocations: 33.7 kB / 0.525 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.006235, allocations: 147.2 kB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.006277, allocations: 41.12 kB / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.925e-05/0.006336, allocations: 55.36 kB / 0.5252 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.006456, allocations: 0.5001 MB / 0.5257 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.133e-05/0.006498, allocations: 16 kB / 0.5257 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.006742, allocations: 0.5954 MB / 0.5263 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.687e-05/0.006829, allocations: 75.23 kB / 0.5264 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.006831, allocations: 0 / 0.5264 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001375/0.006969, allocations: 124.9 kB / 0.5265 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.006981, allocations: 6.344 kB / 0.5265 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.006999, allocations: 9.219 kB / 0.5265 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.007015, allocations: 3.938 kB / 0.5265 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.145e-05/0.007097, allocations: 23.98 kB / 0.5265 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.007102, allocations: 5.062 kB / 0.5265 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.00722, allocations: 47.09 kB / 0.5266 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.00723, allocations: 8 kB / 0.5266 GB, free: 11.39 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 8.117e-05/0.007311, allocations: 168.5 kB / 0.5267 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.007329, allocations: 19.89 kB / 0.5268 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.517e-05/0.007354, allocations: 16.78 kB / 0.5268 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.007358, allocations: 6.969 kB / 0.5268 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.007361, allocations: 0 / 0.5268 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.007366, allocations: 3.984 kB / 0.5268 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.508e-05/0.007461, allocations: 144.5 kB / 0.5269 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.007462, allocations: 0 / 0.5269 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.24e-05/0.007485, allocations: 8 kB / 0.5269 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.007487, allocations: 0 / 0.5269 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.007495, allocations: 8 kB / 0.5269 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.007497, allocations: 5.484 kB / 0.5269 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.007499, allocations: 3.938 kB / 0.5269 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.007634, allocations: 155 kB / 0.5271 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.209e-05/0.007646, allocations: 7.953 kB / 0.5271 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.007663, allocations: 4.5 kB / 0.5271 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.518e-05/0.007688, allocations: 6.281 kB / 0.5271 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.007719, allocations: 15.86 kB / 0.5271 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.007724, allocations: 0 / 0.5271 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.508e-05/0.007779, allocations: 152.5 kB / 0.5273 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007779, allocations: 0 / 0.5273 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000206/0.007985, allocations: 67.88 kB / 0.5273 GB, free: 10.55 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.0001872/0.008172, allocations: 181.5 kB / 0.5275 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001664/0.008338, allocations: 132.8 kB / 0.5276 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.008341, allocations: 4 kB / 0.5276 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.663e-05/0.008378, allocations: 31.61 kB / 0.5277 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001141/0.008492, allocations: 4 kB / 0.5277 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002899/0.008782, allocations: 221.4 kB / 0.5279 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.448e-05/0.008816, allocations: 67.34 kB / 0.5279 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.893e-05/0.008845, allocations: 8.719 kB / 0.528 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.149e-05/0.008867, allocations: 13.53 kB / 0.528 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of SimCode: time 9.52e-07/0.008868, allocations: 0 / 0.528 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of Templates: time 0.004186/0.01305, allocations: 2.712 MB / 0.5306 GB, free: 7.297 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.915789999999106]