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.001079/0.001079, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008278/0.0008278, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8789/0.8789, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7284/0.7284, allocations: 154.6 MB / 413.7 MB, free: 0.832 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.614e-06/1.614e-06, allocations: 0 / 0.618 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.389e-05, allocations: 2.281 kB / 0.618 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.00218/0.002204, allocations: 1.412 MB / 0.6194 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006708/0.002875, allocations: 454.2 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.429e-05/0.002919, allocations: 0 / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 7.736e-05/0.002997, allocations: 15.88 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.722e-05/0.003054, allocations: 7.922 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007047/0.003759, allocations: 246.7 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.00395, allocations: 151.7 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.483e-05/0.003995, allocations: 3.984 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.078e-05/0.004085, allocations: 71.95 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.254e-05/0.004158, allocations: 43.88 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.00418, allocations: 12 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002727/0.004453, allocations: 187.7 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.524e-05/0.004518, allocations: 31.91 kB / 0.6206 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.774e-05/0.004576, allocations: 39.91 kB / 0.6206 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.004881, allocations: 279.3 kB / 0.6209 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.004884, allocations: 0 / 0.6209 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.243e-06/0.004885, allocations: 0 / 0.6209 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.004889, allocations: 0 / 0.6209 GB, free: 10.84 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.00047/0.005359, allocations: 381.5 kB / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.005402, allocations: 9.469 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.953e-05/0.005442, allocations: 46.73 kB / 0.6213 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.005486, allocations: 12.89 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.005654, allocations: 147.7 kB / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.005666, allocations: 4.375 kB / 0.6214 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.005689, allocations: 16.38 kB / 0.6214 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.005835, allocations: 83.89 kB / 0.6215 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.005843, allocations: 192 / 0.6215 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.005852, allocations: 384 / 0.6215 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.005859, allocations: 8.109 kB / 0.6215 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.29e-05/0.005922, allocations: 35.98 kB / 0.6216 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001864/0.006108, allocations: 181.6 kB / 0.6217 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.456e-05/0.006203, allocations: 81.19 kB / 0.6218 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.313e-05/0.006256, allocations: 45.81 kB / 0.6219 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.006268, allocations: 3.984 kB / 0.6219 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002236/0.006491, allocations: 113 kB / 0.622 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.006493, allocations: 0 / 0.622 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14): time 0.0003039/0.006797, allocations: 197.6 kB / 0.6222 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.006848, allocations: 81.11 kB / 0.6222 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.925e-05/0.006947, allocations: 153.8 kB / 0.6224 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.006969, allocations: 33.7 kB / 0.6224 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/0.00702, allocations: 108.5 kB / 0.6225 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.00706, allocations: 39.72 kB / 0.6226 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.719e-05/0.007117, allocations: 53.64 kB / 0.6226 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.757e-05/0.007205, allocations: 322.8 kB / 0.6229 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.87e-05/0.007254, allocations: 39.98 kB / 0.623 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.007524, allocations: 0.6031 MB / 0.6236 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.007643, allocations: 100.9 kB / 0.6236 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.007645, allocations: 0 / 0.6236 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001656/0.007811, allocations: 153.5 kB / 0.6238 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.007829, allocations: 11.94 kB / 0.6238 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/0.007848, allocations: 96 / 0.6238 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.007862, allocations: 11.98 kB / 0.6238 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.055e-05/0.007933, allocations: 11.98 kB / 0.6238 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.00794, allocations: 4 kB / 0.6238 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.008102, allocations: 67.86 kB / 0.6239 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.008113, allocations: 8 kB / 0.6239 GB, free: 7.34 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 9.847e-05/0.008211, allocations: 150.6 kB / 0.624 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.00823, allocations: 11.91 kB / 0.6241 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/0.008262, allocations: 16.72 kB / 0.6241 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.008265, allocations: 0 / 0.6241 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.008271, allocations: 0 / 0.6241 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.008277, allocations: 4 kB / 0.6241 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.008397, allocations: 160.7 kB / 0.6242 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.008399, allocations: 0 / 0.6242 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.462e-05/0.008424, allocations: 8 kB / 0.6242 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.008427, allocations: 4 kB / 0.6242 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.008436, allocations: 3.938 kB / 0.6242 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.008437, allocations: 0 / 0.6242 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.008439, allocations: 0 / 0.6242 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.008612, allocations: 181.8 kB / 0.6244 GB, free: 6.73 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.008622, allocations: 7.953 kB / 0.6244 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.008641, allocations: 11.92 kB / 0.6244 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.537e-05/0.008666, allocations: 4 kB / 0.6244 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.008703, allocations: 7.984 kB / 0.6245 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.008708, allocations: 4 kB / 0.6245 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.541e-05/0.008763, allocations: 117.3 kB / 0.6246 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.008763, allocations: 3.938 kB / 0.6246 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002391/0.009002, allocations: 75.81 kB / 0.6246 GB, free: 6.504 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.0005003/0.009503, allocations: 0.7847 MB / 0.6254 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002119/0.009715, allocations: 163.3 kB / 0.6256 GB, free: 5.516 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.009716, allocations: 0 / 0.6256 GB, free: 5.516 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.433e-05/0.00976, allocations: 39.97 kB / 0.6256 GB, free: 5.477 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.009899, allocations: 10.64 kB / 0.6256 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.01119, allocations: 1.731 MB / 0.6273 GB, free: 3.645 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.203e-05/0.01129, allocations: 96.97 kB / 0.6274 GB, free: 3.523 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.457e-05/0.01132, allocations: 4.922 kB / 0.6274 GB, free: 3.52 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.01136, allocations: 28.48 kB / 0.6274 GB, free: 3.492 MB / 0.5886 GB Notification: Performance of SimCode: time 6.61e-07/0.01137, allocations: 0 / 0.6274 GB, free: 3.492 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01812/0.02949, allocations: 4.818 MB / 0.6321 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.978/7.007, allocations: 1.875 kB / 0.6321 GB, free: 14.89 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 & /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: 9.707040834240615] Failed to read output from testmodel.py, exit status != 0: 7.090760942548513 7.104003015 7.097091241 Calling exit ...