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.001376/0.001376, allocations: 80.28 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001452/0.001452, allocations: 165.6 kB / 22.46 MB, free: 5.355 MB / 14.72 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.416/1.416, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.185/1.185, allocations: 154.6 MB / 413.8 MB, free: 5.234 MB / 382.1 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 178] 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 5.3e-06/5.3e-06, allocations: 4 kB / 0.6185 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.865e-05/4.395e-05, allocations: 5.375 kB / 0.6186 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.004214/0.004258, allocations: 1.411 MB / 0.6199 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009456/0.005203, allocations: 455.5 kB / 0.6204 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.562e-05/0.005259, allocations: 0.625 kB / 0.6204 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.687e-05/0.005346, allocations: 11.86 kB / 0.6204 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.24e-05/0.005418, allocations: 10.47 kB / 0.6204 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.00644, allocations: 246.2 kB / 0.6206 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.006708, allocations: 143.7 kB / 0.6208 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.006757, allocations: 8 kB / 0.6208 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002499/0.007007, allocations: 87.86 kB / 0.6208 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.007107, allocations: 31.91 kB / 0.6209 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.007145, allocations: 12 kB / 0.6209 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000424/0.007569, allocations: 195.6 kB / 0.6211 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.459e-05/0.007664, allocations: 35.92 kB / 0.6211 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.658e-05/0.00776, allocations: 35.97 kB / 0.6211 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006235/0.008384, allocations: 275.2 kB / 0.6214 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.008389, allocations: 4 kB / 0.6214 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.202e-06/0.00839, allocations: 0 / 0.6214 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.008396, allocations: 4 kB / 0.6214 GB, free: 1.652 MB / 0.5294 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.0006757/0.009071, allocations: 377.6 kB / 0.6218 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.009115, allocations: 8.031 kB / 0.6218 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.925e-05/0.009184, allocations: 12.89 kB / 0.6218 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.009425, allocations: 147.5 kB / 0.6219 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.009447, allocations: 12.38 kB / 0.6219 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.00948, allocations: 8.375 kB / 0.622 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.009683, allocations: 87.83 kB / 0.622 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.009693, allocations: 192 / 0.622 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.009707, allocations: 4.375 kB / 0.622 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.009714, allocations: 8.359 kB / 0.6221 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.857e-05/0.009802, allocations: 39.92 kB / 0.6221 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.01004, allocations: 158.1 kB / 0.6222 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.01017, allocations: 77.19 kB / 0.6223 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.13e-05/0.01025, allocations: 49.81 kB / 0.6224 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.01027, allocations: 7.984 kB / 0.6224 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002549/0.01052, allocations: 109 kB / 0.6225 GB, free: 436 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.203e-06/0.01053, allocations: 0 / 0.6225 GB, free: 436 kB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0003868/0.01091, allocations: 181.5 kB / 0.6226 GB, free: 248 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.003e-05/0.01099, allocations: 93.09 kB / 0.6227 GB, free: 136 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.01116, allocations: 155.8 kB / 0.6229 GB, free: 15.97 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.267e-05/0.01121, allocations: 37.7 kB / 0.6229 GB, free: 15.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.183e-05/0.01129, allocations: 92.52 kB / 0.623 GB, free: 15.83 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.732e-05/0.01134, allocations: 39.75 kB / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.82e-05/0.01143, allocations: 49.69 kB / 0.6231 GB, free: 15.74 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002554/0.01169, allocations: 326.8 kB / 0.6234 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.236e-05/0.01176, allocations: 39.98 kB / 0.6234 GB, free: 15.37 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005809/0.01234, allocations: 0.606 MB / 0.624 GB, free: 14.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.01261, allocations: 97.03 kB / 0.6241 GB, free: 14.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.01261, allocations: 0 / 0.6241 GB, free: 14.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002641/0.01287, allocations: 173.4 kB / 0.6243 GB, free: 14.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.01289, allocations: 4 kB / 0.6243 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/0.01291, allocations: 4 kB / 0.6243 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.01293, allocations: 3.938 kB / 0.6243 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.091e-05/0.01301, allocations: 8 kB / 0.6243 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.01302, allocations: 0 / 0.6243 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004114/0.01343, allocations: 87.72 kB / 0.6244 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.01345, allocations: 4 kB / 0.6244 GB, free: 14.23 MB / 0.545 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.0001421/0.01359, allocations: 131.6 kB / 0.6245 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.65e-05/0.01363, allocations: 7.953 kB / 0.6245 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.592e-05/0.01367, allocations: 16.77 kB / 0.6245 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.01368, allocations: 7.938 kB / 0.6246 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.01369, allocations: 0 / 0.6246 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.01369, allocations: 4 kB / 0.6246 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.01389, allocations: 133.2 kB / 0.6247 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.0139, allocations: 4 kB / 0.6247 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.764e-05/0.01395, allocations: 8 kB / 0.6247 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.01396, allocations: 0 / 0.6247 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.01397, allocations: 0 / 0.6247 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01397, allocations: 0.625 kB / 0.6247 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.01397, allocations: 7.938 kB / 0.6247 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003088/0.01428, allocations: 188.4 kB / 0.6249 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.109e-05/0.0143, allocations: 15.84 kB / 0.6249 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.01433, allocations: 12 kB / 0.6249 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.097e-05/0.01437, allocations: 0 / 0.6249 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.01442, allocations: 11.92 kB / 0.6249 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.01443, allocations: 4 kB / 0.6249 GB, free: 13.63 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.681e-05/0.01452, allocations: 115.2 kB / 0.625 GB, free: 13.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01452, allocations: 0 / 0.625 GB, free: 13.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003202/0.01484, allocations: 71.86 kB / 0.6251 GB, free: 13.45 MB / 0.545 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.0003448/0.01519, allocations: 171.1 kB / 0.6253 GB, free: 13.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002918/0.01548, allocations: 163.4 kB / 0.6254 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01548, allocations: 4 kB / 0.6254 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.428e-05/0.01556, allocations: 43.92 kB / 0.6255 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.01574, allocations: 6.016 kB / 0.6255 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/0.01621, allocations: 230.6 kB / 0.6257 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.01631, allocations: 93.39 kB / 0.6258 GB, free: 12.67 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.736e-05/0.01636, allocations: 8.719 kB / 0.6258 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.01639, allocations: 12.5 kB / 0.6258 GB, free: 12.65 MB / 0.545 GB Notification: Performance of SimCode: time 9.12e-07/0.01639, allocations: 8 kB / 0.6258 GB, free: 12.64 MB / 0.545 GB Notification: Performance of Templates: time 0.006703/0.02309, allocations: 2.68 MB / 0.6284 GB, free: 10.03 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.717123877257109] Failed to read output from testmodel.py, exit status != 0: 0.03394307568669319 0.062167785 0.048325601 Calling exit ...