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.001156/0.001156, allocations: 97.5 kB / 18.95 MB, free: 1.312 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.001252/0.001252, allocations: 209.7 kB / 22.24 MB, free: 3.684 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.9399/0.9399, allocations: 230.6 MB / 256 MB, free: 9.605 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.8122/0.8122, allocations: 203.8 MB / 0.5042 GB, free: 10.49 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.000937/0.000937, allocations: 73.41 kB / 0.7181 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5127/0.5137, allocations: 102 MB / 0.8178 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002137/0.5158, allocations: 1.423 MB / 0.8192 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00067/0.5165, allocations: 452.4 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.368e-05/0.5165, allocations: 0 / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.684e-05/0.5166, allocations: 16.14 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.072e-05/0.5167, allocations: 9 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006226/0.5173, allocations: 251.5 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.5175, allocations: 144.4 kB / 0.82 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.851e-05/0.5175, allocations: 12.33 kB / 0.82 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.266e-05/0.5176, allocations: 54.59 kB / 0.82 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.857e-05/0.5177, allocations: 40.84 kB / 0.8201 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.5177, allocations: 15.28 kB / 0.8201 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002651/0.518, allocations: 184.7 kB / 0.8203 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.331e-05/0.518, allocations: 34.83 kB / 0.8203 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.284e-05/0.5181, allocations: 54.3 kB / 0.8204 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.5184, allocations: 229.8 kB / 0.8206 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5184, allocations: 1.594 kB / 0.8206 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5184, allocations: 0 / 0.8206 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.5184, allocations: 0 / 0.8206 GB, free: 15.38 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.0004824/0.5189, allocations: 379.2 kB / 0.8209 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.5189, allocations: 9.75 kB / 0.821 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.495e-05/0.519, allocations: 48.03 kB / 0.821 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.519, allocations: 15.08 kB / 0.821 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.5192, allocations: 147.9 kB / 0.8212 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.5192, allocations: 6.375 kB / 0.8212 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.5192, allocations: 14.34 kB / 0.8212 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.5193, allocations: 79.78 kB / 0.8213 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.5193, allocations: 5.125 kB / 0.8213 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.5193, allocations: 3.938 kB / 0.8213 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.5193, allocations: 1.312 kB / 0.8213 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.083e-05/0.5194, allocations: 38.27 kB / 0.8213 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001986/0.5196, allocations: 183.5 kB / 0.8215 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.5197, allocations: 76.86 kB / 0.8215 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.183e-05/0.5198, allocations: 46.77 kB / 0.8216 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.5198, allocations: 1.375 kB / 0.8216 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.52, allocations: 116.4 kB / 0.8217 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.223e-06/0.52, allocations: 0 / 0.8217 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0002972/0.5203, allocations: 179.8 kB / 0.8219 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.5204, allocations: 91.48 kB / 0.822 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.5205, allocations: 158.3 kB / 0.8221 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.5205, allocations: 42.69 kB / 0.8222 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.157e-05/0.5206, allocations: 101.1 kB / 0.8222 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.5206, allocations: 39.59 kB / 0.8223 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.88e-05/0.5207, allocations: 49.89 kB / 0.8223 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.041e-05/0.5207, allocations: 327.3 kB / 0.8226 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.383e-05/0.5208, allocations: 39.22 kB / 0.8227 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/0.5211, allocations: 0.5985 MB / 0.8233 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.5212, allocations: 98.67 kB / 0.8234 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5212, allocations: 0 / 0.8234 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001737/0.5214, allocations: 163.3 kB / 0.8235 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.5214, allocations: 8.25 kB / 0.8235 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.5214, allocations: 6.906 kB / 0.8235 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.5214, allocations: 4.938 kB / 0.8235 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.904e-05/0.5215, allocations: 10.16 kB / 0.8235 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.5215, allocations: 1.25 kB / 0.8235 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.5217, allocations: 81 kB / 0.8236 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-06/0.5217, allocations: 8.375 kB / 0.8236 GB, free: 12.77 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 0.0003481/0.522, allocations: 131 kB / 0.8238 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.5221, allocations: 19.81 kB / 0.8238 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.466e-05/0.5221, allocations: 16.34 kB / 0.8238 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.5221, allocations: 1.594 kB / 0.8238 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.5221, allocations: 0 / 0.8238 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5221, allocations: 1.469 kB / 0.8238 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.5222, allocations: 164.4 kB / 0.824 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5222, allocations: 4 kB / 0.824 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/0.5222, allocations: 7.484 kB / 0.824 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.5222, allocations: 1.5 kB / 0.824 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.5222, allocations: 6.078 kB / 0.824 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.5222, allocations: 3.938 kB / 0.824 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5222, allocations: 2.312 kB / 0.824 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.5224, allocations: 185.8 kB / 0.8242 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.234e-05/0.5224, allocations: 13.02 kB / 0.8242 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.5224, allocations: 3.031 kB / 0.8242 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.823e-05/0.5225, allocations: 7.938 kB / 0.8242 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.5225, allocations: 9.562 kB / 0.8242 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.5225, allocations: 3.688 kB / 0.8242 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.765e-05/0.5226, allocations: 111.5 kB / 0.8243 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5226, allocations: 0 / 0.8243 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002247/0.5228, allocations: 76.08 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.0004664/0.5233, allocations: 0.7741 MB / 0.8251 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002123/0.5235, allocations: 158.6 kB / 0.8253 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5235, allocations: 0 / 0.8253 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.558e-05/0.5235, allocations: 41 kB / 0.8253 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.5236, allocations: 13.12 kB / 0.8253 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.5249, allocations: 1.706 MB / 0.827 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.469e-05/0.525, allocations: 92.41 kB / 0.8271 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.437e-05/0.525, allocations: 8.078 kB / 0.8271 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.5251, allocations: 27.88 kB / 0.8271 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of SimCode: time 3.3e-07/0.5251, allocations: 0 / 0.8271 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.5442, allocations: 4.705 MB / 0.8317 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.548/7.092, allocations: 8.25 kB / 0.8317 GB, free: 8.844 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --stepSize=518.4 --timeout=50 --tolerance=1e-06 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.049540925770998] Failed to read output from testmodel.py, exit status != 0: 7.172303476836532 7.185385282 6.664885958 Calling exit ...