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.0007483/0.0007483, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.000825/0.000825, allocations: 208.1 kB / 22.25 MB, free: 3.574 MB / 13.93 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.9568/0.9568, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.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.7645/0.7645, allocations: 203.8 MB / 0.5042 GB, free: 10 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009201/0.0009201, allocations: 62.88 kB / 0.7181 GB, free: 4.094 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4942/0.4952, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.001976/0.4971, allocations: 1.416 MB / 0.8191 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000662/0.4978, allocations: 461.3 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.25e-05/0.4978, allocations: 0 / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.009e-05/0.4979, allocations: 8.078 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.259e-05/0.498, allocations: 8.953 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00062/0.4986, allocations: 247.7 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.4988, allocations: 145.6 kB / 0.82 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.258e-05/0.4988, allocations: 7.219 kB / 0.82 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.63e-05/0.4989, allocations: 64.34 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.918e-05/0.499, allocations: 41.36 kB / 0.8201 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.499, allocations: 9 kB / 0.8201 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002684/0.4993, allocations: 185 kB / 0.8203 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.752e-05/0.4993, allocations: 38.3 kB / 0.8203 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.637e-05/0.4994, allocations: 44.86 kB / 0.8204 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003056/0.4997, allocations: 234.5 kB / 0.8206 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4997, allocations: 0 / 0.8206 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.294e-06/0.4997, allocations: 0 / 0.8206 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.4997, allocations: 0 / 0.8206 GB, free: 15.39 MB / 0.6198 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.0004627/0.5002, allocations: 381.5 kB / 0.8209 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.5002, allocations: 11.09 kB / 0.8209 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.189e-05/0.5003, allocations: 37.81 kB / 0.821 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.026e-05/0.5003, allocations: 16.52 kB / 0.821 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.5005, allocations: 155.5 kB / 0.8212 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.5005, allocations: 5.781 kB / 0.8212 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.5005, allocations: 14.12 kB / 0.8212 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.5006, allocations: 78.19 kB / 0.8212 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.5006, allocations: 4.688 kB / 0.8212 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.5007, allocations: 5.031 kB / 0.8213 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.5007, allocations: 1 kB / 0.8213 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.381e-05/0.5007, allocations: 40.09 kB / 0.8213 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.5009, allocations: 183.2 kB / 0.8215 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.088e-05/0.501, allocations: 76.89 kB / 0.8215 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.279e-05/0.501, allocations: 54.91 kB / 0.8216 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.5011, allocations: 1.188 kB / 0.8216 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/0.5013, allocations: 115.5 kB / 0.8217 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.5013, allocations: 1.281 kB / 0.8217 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0003041/0.5016, allocations: 188 kB / 0.8219 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.5016, allocations: 83.23 kB / 0.822 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.5017, allocations: 161.6 kB / 0.8221 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.5017, allocations: 35 kB / 0.8222 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.5018, allocations: 101.4 kB / 0.8222 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.5018, allocations: 39.89 kB / 0.8223 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/0.5019, allocations: 53.14 kB / 0.8223 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.489e-05/0.502, allocations: 326.1 kB / 0.8226 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.054e-05/0.502, allocations: 44.28 kB / 0.8227 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.5023, allocations: 0.6013 MB / 0.8233 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.5024, allocations: 103.5 kB / 0.8234 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5024, allocations: 0 / 0.8234 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001601/0.5026, allocations: 155.1 kB / 0.8235 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.5026, allocations: 4 kB / 0.8235 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.5026, allocations: 3.219 kB / 0.8235 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.5026, allocations: 5.531 kB / 0.8235 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.763e-05/0.5027, allocations: 19.03 kB / 0.8236 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.5027, allocations: 1.375 kB / 0.8236 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.5028, allocations: 71.52 kB / 0.8236 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.5029, allocations: 8.5 kB / 0.8236 GB, free: 12.76 MB / 0.6198 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.802e-05/0.5029, allocations: 134.7 kB / 0.8238 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.503, allocations: 13.45 kB / 0.8238 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/0.503, allocations: 13.58 kB / 0.8238 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.503, allocations: 1.594 kB / 0.8238 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.503, allocations: 1.156 kB / 0.8238 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.503, allocations: 0.75 kB / 0.8238 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.5031, allocations: 166.4 kB / 0.8239 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.5031, allocations: 5.312 kB / 0.824 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.614e-05/0.5031, allocations: 11.81 kB / 0.824 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5031, allocations: 4 kB / 0.824 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.5031, allocations: 6.984 kB / 0.824 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5031, allocations: 1.062 kB / 0.824 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5031, allocations: 0.75 kB / 0.824 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.5033, allocations: 182.8 kB / 0.8242 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.332e-05/0.5034, allocations: 13.59 kB / 0.8242 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.5034, allocations: 2.125 kB / 0.8242 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.814e-05/0.5034, allocations: 3.984 kB / 0.8242 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.5034, allocations: 12.92 kB / 0.8242 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.5034, allocations: 3.562 kB / 0.8242 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.887e-05/0.5035, allocations: 116.2 kB / 0.8243 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5035, allocations: 1.281 kB / 0.8243 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002374/0.5037, allocations: 74.98 kB / 0.8244 GB, free: 12.2 MB / 0.6198 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.000464/0.5042, allocations: 0.774 MB / 0.8251 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002098/0.5044, allocations: 161.7 kB / 0.8253 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5044, allocations: 0 / 0.8253 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.838e-05/0.5045, allocations: 41.09 kB / 0.8253 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.5046, allocations: 8.547 kB / 0.8253 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.5059, allocations: 1.713 MB / 0.827 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.245e-05/0.5059, allocations: 87.39 kB / 0.8271 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.689e-05/0.506, allocations: 10.31 kB / 0.8271 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.21e-05/0.506, allocations: 29.77 kB / 0.8271 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of SimCode: time 3.9e-07/0.506, allocations: 0 / 0.8271 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.5239, allocations: 4.709 MB / 0.8317 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.817/7.341, allocations: 0.8438 kB / 0.8317 GB, free: 8.836 MB / 0.6198 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: 10.259366628713906] Failed to read output from testmodel.py, exit status != 0: 7.418801621999592 7.430194857 6.928392312 Calling exit ...