Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009528/0.0009528, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009285/0.0009285, allocations: 173.3 kB / 23.5 MB, free: 1.059 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.052/1.052, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8266/0.8266, allocations: 154.6 MB / 414.9 MB, free: 0.6875 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.5203 GB, free: 2.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.059e-05, allocations: 8.281 kB / 0.5203 GB, free: 2.562 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002179/0.002209, allocations: 1.453 MB / 0.5217 GB, free: 1.121 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000667/0.002876, allocations: 474.1 kB / 0.5222 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.012e-05/0.002926, allocations: 1.719 kB / 0.5222 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.065e-05/0.003017, allocations: 7.922 kB / 0.5222 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.776e-05/0.003085, allocations: 15.86 kB / 0.5222 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007953/0.00388, allocations: 248.8 kB / 0.5224 GB, free: 400 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000219/0.004099, allocations: 147.3 kB / 0.5226 GB, free: 256 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.568e-05/0.004145, allocations: 4 kB / 0.5226 GB, free: 252 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.664e-05/0.004241, allocations: 84.61 kB / 0.5226 GB, free: 168 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.5e-05/0.004336, allocations: 29.44 kB / 0.5227 GB, free: 140 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/0.004368, allocations: 8 kB / 0.5227 GB, free: 132 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003438/0.004712, allocations: 195.7 kB / 0.5229 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.091e-05/0.004793, allocations: 31.97 kB / 0.5229 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.687e-05/0.00486, allocations: 37.25 kB / 0.5229 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003212/0.005181, allocations: 251.2 kB / 0.5232 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.005184, allocations: 0 / 0.5232 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.263e-06/0.005185, allocations: 0.9062 kB / 0.5232 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.00519, allocations: 0 / 0.5232 GB, free: 15.62 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.000495/0.005685, allocations: 482.8 kB / 0.5236 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.005724, allocations: 8.031 kB / 0.5236 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.003e-05/0.005784, allocations: 20.88 kB / 0.5237 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.005967, allocations: 159.3 kB / 0.5238 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.00598, allocations: 4.375 kB / 0.5238 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.005999, allocations: 12.38 kB / 0.5238 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.006124, allocations: 69.61 kB / 0.5239 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.006131, allocations: 192 / 0.5239 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.00614, allocations: 4.875 kB / 0.5239 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.006147, allocations: 384 / 0.5239 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.75e-05/0.006194, allocations: 28.42 kB / 0.5239 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.006369, allocations: 177.1 kB / 0.5241 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.566e-05/0.006455, allocations: 74.09 kB / 0.5242 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.048e-05/0.006505, allocations: 36.06 kB / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.006515, allocations: 9.5 kB / 0.5242 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/0.006668, allocations: 100.4 kB / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.006669, allocations: 0 / 0.5243 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0002785/0.006947, allocations: 126.5 kB / 0.5244 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.007004, allocations: 89.05 kB / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.007129, allocations: 209.8 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.007155, allocations: 39.11 kB / 0.5248 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.314e-05/0.007228, allocations: 147.2 kB / 0.5249 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.007268, allocations: 31.75 kB / 0.5249 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.295e-05/0.007341, allocations: 59.34 kB / 0.525 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.0075, allocations: 0.4934 MB / 0.5255 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.683e-05/0.007547, allocations: 19.98 kB / 0.5255 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/0.00784, allocations: 0.5884 MB / 0.5261 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.00794, allocations: 82.31 kB / 0.5261 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.007943, allocations: 0 / 0.5261 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001555/0.008098, allocations: 126.7 kB / 0.5263 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.008113, allocations: 4 kB / 0.5263 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.008134, allocations: 4 kB / 0.5263 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.008148, allocations: 5.281 kB / 0.5263 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.147e-05/0.008239, allocations: 19.98 kB / 0.5263 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.008246, allocations: 0 / 0.5263 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.008387, allocations: 56.58 kB / 0.5263 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.008395, allocations: 4 kB / 0.5263 GB, free: 11.96 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.0001109/0.008506, allocations: 172.6 kB / 0.5265 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.008526, allocations: 26.64 kB / 0.5265 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.008554, allocations: 8.781 kB / 0.5265 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.008558, allocations: 7.938 kB / 0.5265 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.008564, allocations: 0 / 0.5265 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.008567, allocations: 0 / 0.5265 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.008679, allocations: 148.5 kB / 0.5267 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.008681, allocations: 0 / 0.5267 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.679e-05/0.008708, allocations: 4 kB / 0.5267 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.008713, allocations: 8.609 kB / 0.5267 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.008721, allocations: 1.219 kB / 0.5267 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.008722, allocations: 0 / 0.5267 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.008724, allocations: 3.938 kB / 0.5267 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.008885, allocations: 152 kB / 0.5269 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.257e-05/0.008898, allocations: 8.609 kB / 0.5269 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.008917, allocations: 9.656 kB / 0.5269 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.41e-05/0.008941, allocations: 0 / 0.5269 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.008984, allocations: 15.92 kB / 0.5269 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.008991, allocations: 4 kB / 0.5269 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.022e-05/0.009051, allocations: 145.4 kB / 0.527 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.009051, allocations: 2.438 kB / 0.527 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002471/0.009298, allocations: 75.88 kB / 0.5271 GB, free: 11.12 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.0002256/0.009524, allocations: 181.1 kB / 0.5273 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001977/0.009721, allocations: 131 kB / 0.5274 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.009723, allocations: 2.531 kB / 0.5274 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.245e-05/0.009765, allocations: 35.61 kB / 0.5274 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.009898, allocations: 4 kB / 0.5274 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003737/0.01027, allocations: 214.5 kB / 0.5276 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.62e-05/0.01032, allocations: 71.33 kB / 0.5277 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.428e-05/0.01035, allocations: 5.734 kB / 0.5277 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.01038, allocations: 20.5 kB / 0.5277 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of SimCode: time 1.032e-06/0.01038, allocations: 0.9688 kB / 0.5277 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of Templates: time 0.00475/0.01513, allocations: 2.71 MB / 0.5304 GB, free: 7.871 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8836009579245]