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.000862/0.000862, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.0009389/0.0009389, allocations: 165.9 kB / 22.45 MB, free: 2.113 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 0.884/0.884, allocations: 177.1 MB / 202.8 MB, free: 5.727 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-531:190: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-531:198: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.6955/0.6955, allocations: 154.6 MB / 413.7 MB, free: 0.8242 MB / 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: "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.226e-05, allocations: 6.281 kB / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.001799/0.001821, allocations: 1.413 MB / 0.6194 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005407/0.002362, allocations: 450.2 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.183e-05/0.002394, allocations: 0 / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 6.465e-05/0.002458, allocations: 7.922 kB / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.881e-05/0.002517, allocations: 15.88 kB / 0.6198 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006133/0.00313, allocations: 249.2 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.003289, allocations: 151.7 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.899e-05/0.003328, allocations: 4 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.694e-05/0.003405, allocations: 79.89 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.329e-05/0.003468, allocations: 31.94 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.003492, allocations: 12 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/0.003704, allocations: 191.7 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.202e-05/0.003756, allocations: 35.92 kB / 0.6206 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.785e-05/0.003804, allocations: 43.89 kB / 0.6206 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.004051, allocations: 271.3 kB / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.004054, allocations: 4 kB / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.102e-06/0.004055, allocations: 0 / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.004059, allocations: 0 / 0.6209 GB, free: 10.79 MB / 0.5886 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.0004009/0.00446, allocations: 385.5 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.004494, allocations: 9.469 kB / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.958e-05/0.004524, allocations: 30.75 kB / 0.6213 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.004562, allocations: 20.89 kB / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.004717, allocations: 148 kB / 0.6214 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.004728, allocations: 8.375 kB / 0.6214 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.004745, allocations: 8.375 kB / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.00486, allocations: 83.94 kB / 0.6215 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.004867, allocations: 192 / 0.6215 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.004873, allocations: 4.312 kB / 0.6215 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.004879, allocations: 8.125 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.051e-05/0.004939, allocations: 31.98 kB / 0.6216 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.005096, allocations: 185.6 kB / 0.6217 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.072e-05/0.005177, allocations: 85.16 kB / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.785e-05/0.005225, allocations: 49.77 kB / 0.6219 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.005234, allocations: 7.938 kB / 0.6219 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.005377, allocations: 105.1 kB / 0.622 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=14): time 7.21e-07/0.005377, allocations: 0 / 0.622 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14): time 0.0002373/0.005615, allocations: 189.7 kB / 0.6222 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.005658, allocations: 93.03 kB / 0.6222 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.479e-05/0.005742, allocations: 149.8 kB / 0.6224 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.005763, allocations: 37.69 kB / 0.6224 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.39e-05/0.005806, allocations: 96.52 kB / 0.6225 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.005841, allocations: 43.72 kB / 0.6226 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/0.005895, allocations: 45.7 kB / 0.6226 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.357e-05/0.005969, allocations: 326.8 kB / 0.6229 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.491e-05/0.006014, allocations: 43.98 kB / 0.623 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.006237, allocations: 0.5924 MB / 0.6235 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.613e-05/0.006333, allocations: 105 kB / 0.6236 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.006335, allocations: 0 / 0.6236 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001387/0.006474, allocations: 153.6 kB / 0.6238 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.006486, allocations: 11.88 kB / 0.6238 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.006503, allocations: 7.984 kB / 0.6238 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.006513, allocations: 7.938 kB / 0.6238 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.473e-05/0.006567, allocations: 8 kB / 0.6238 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.006572, allocations: 0 / 0.6238 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.006738, allocations: 75.8 kB / 0.6239 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.006747, allocations: 8 kB / 0.6239 GB, free: 7.289 MB / 0.5886 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.102e-05/0.006828, allocations: 138.8 kB / 0.624 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.006847, allocations: 19.84 kB / 0.624 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.006872, allocations: 16.72 kB / 0.6241 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.006875, allocations: 7.984 kB / 0.6241 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.006879, allocations: 0 / 0.6241 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.006883, allocations: 4 kB / 0.6241 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.836e-05/0.006971, allocations: 156.7 kB / 0.6242 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.006974, allocations: 4 kB / 0.6242 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.939e-05/0.006993, allocations: 8 kB / 0.6242 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.006995, allocations: 0 / 0.6242 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.007003, allocations: 7.938 kB / 0.6242 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.007004, allocations: 0 / 0.6242 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.007006, allocations: 3.984 kB / 0.6242 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.007151, allocations: 181.8 kB / 0.6244 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-06/0.00716, allocations: 7.953 kB / 0.6244 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.007172, allocations: 3.938 kB / 0.6244 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.036e-05/0.007193, allocations: 4 kB / 0.6244 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.007224, allocations: 11.92 kB / 0.6244 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.007228, allocations: 4 kB / 0.6245 GB, free: 6.641 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.689e-05/0.007275, allocations: 117.3 kB / 0.6246 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007275, allocations: 0 / 0.6246 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002207/0.007496, allocations: 79.8 kB / 0.6246 GB, free: 6.449 MB / 0.5886 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.0004369/0.007933, allocations: 0.7919 MB / 0.6254 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001739/0.008107, allocations: 155.4 kB / 0.6256 GB, free: 5.465 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.008108, allocations: 0 / 0.6256 GB, free: 5.465 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.218e-05/0.00815, allocations: 43.91 kB / 0.6256 GB, free: 5.422 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001145/0.008264, allocations: 8 kB / 0.6256 GB, free: 5.414 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.009437, allocations: 1.722 MB / 0.6273 GB, free: 3.598 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.833e-05/0.009495, allocations: 92.92 kB / 0.6274 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.772e-05/0.009523, allocations: 8.734 kB / 0.6274 GB, free: 3.473 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.009563, allocations: 32.48 kB / 0.6274 GB, free: 3.441 MB / 0.5886 GB Notification: Performance of SimCode: time 6.02e-07/0.009564, allocations: 0 / 0.6274 GB, free: 3.441 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01551/0.02507, allocations: 4.811 MB / 0.6321 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.038/7.063, allocations: 3.984 kB / 0.6321 GB, free: 14.84 MB / 0.6042 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule_res.csv --start-time -86400 --stop-time 1.2096e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 518.4 IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.74876781180501] Failed to read output from testmodel.py, exit status != 0: 7.143896132707596 7.152573286 7.146851099 Calling exit ...