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.001229/0.001229, 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.001171/0.001171, allocations: 170.3 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.8932/0.8932, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 0.72/0.72, allocations: 154.6 MB / 413.8 MB, free: 0.8047 MB / 378.7 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 179] 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: "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.583e-05/1.717e-05, allocations: 5.375 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.001647/0.001664, allocations: 1.412 MB / 0.6194 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005709/0.002235, allocations: 458.2 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.398e-05/0.002279, allocations: 0 / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 7.445e-05/0.002354, allocations: 7.875 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.295e-05/0.002407, allocations: 7.984 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006639/0.003071, allocations: 246.5 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.003255, allocations: 159.7 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.0033, allocations: 7.984 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.324e-05/0.003383, allocations: 75.94 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.869e-05/0.003452, allocations: 39.88 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.003473, allocations: 12 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002266/0.003699, allocations: 191.7 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.284e-05/0.003752, allocations: 31.91 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.892e-05/0.003801, allocations: 39.91 kB / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.004062, allocations: 279.3 kB / 0.6209 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004065, allocations: 0 / 0.6209 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.32e-07/0.004065, allocations: 0 / 0.6209 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.004069, allocations: 3.938 kB / 0.6209 GB, free: 10.72 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.0004054/0.004475, allocations: 369.6 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.00451, allocations: 8.031 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.888e-05/0.004539, allocations: 42.73 kB / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/0.004576, allocations: 12.89 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.004722, allocations: 151.7 kB / 0.6215 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.004733, allocations: 4.375 kB / 0.6215 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.004752, allocations: 24.31 kB / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.004874, allocations: 75.95 kB / 0.6216 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.004882, allocations: 4.188 kB / 0.6216 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.00489, allocations: 384 / 0.6216 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.004895, allocations: 4.125 kB / 0.6216 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.641e-05/0.004951, allocations: 39.97 kB / 0.6216 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.005112, allocations: 185.6 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.886e-05/0.005191, allocations: 69.25 kB / 0.6219 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.955e-05/0.00524, allocations: 49.81 kB / 0.6219 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.005249, allocations: 7.938 kB / 0.6219 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.005394, allocations: 113 kB / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=14): time 7.31e-07/0.005395, allocations: 0 / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14): time 0.0002612/0.005656, allocations: 193.4 kB / 0.6222 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.005699, allocations: 81.11 kB / 0.6223 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.52e-05/0.005794, allocations: 155 kB / 0.6225 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.005814, allocations: 33.7 kB / 0.6225 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.764e-05/0.005862, allocations: 104.5 kB / 0.6226 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.005897, allocations: 31.75 kB / 0.6226 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.626e-05/0.005953, allocations: 57.62 kB / 0.6227 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.619e-05/0.006029, allocations: 322.8 kB / 0.623 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.771e-05/0.006077, allocations: 43.98 kB / 0.623 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.006315, allocations: 0.6041 MB / 0.6236 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.722e-05/0.006412, allocations: 96.7 kB / 0.6237 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.006415, allocations: 3.984 kB / 0.6237 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001477/0.006563, allocations: 154.1 kB / 0.6239 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.006576, allocations: 7.938 kB / 0.6239 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.006594, allocations: 4 kB / 0.6239 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.006608, allocations: 4 kB / 0.6239 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.886e-05/0.006666, allocations: 19.92 kB / 0.6239 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.006673, allocations: 4 kB / 0.6239 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.006826, allocations: 67.86 kB / 0.624 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.006835, allocations: 8.094 kB / 0.624 GB, free: 7.227 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 7.911e-05/0.006914, allocations: 146.7 kB / 0.6241 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.006927, allocations: 15.91 kB / 0.6241 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.00695, allocations: 12.72 kB / 0.6241 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.006952, allocations: 4 kB / 0.6241 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.006956, allocations: 0 / 0.6241 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.006959, allocations: 0 / 0.6241 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.699e-05/0.007046, allocations: 160.7 kB / 0.6243 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.007047, allocations: 0 / 0.6243 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.868e-05/0.007066, allocations: 4 kB / 0.6243 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.007067, allocations: 0 / 0.6243 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.007075, allocations: 7.938 kB / 0.6243 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.007076, allocations: 4 kB / 0.6243 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.007078, allocations: 4.016 kB / 0.6243 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.007223, allocations: 181.8 kB / 0.6245 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-06/0.007231, allocations: 7.953 kB / 0.6245 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.007247, allocations: 11.92 kB / 0.6245 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.025e-05/0.007268, allocations: 4 kB / 0.6245 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.007299, allocations: 7.984 kB / 0.6245 GB, free: 6.59 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.007303, allocations: 0 / 0.6245 GB, free: 6.59 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.935e-05/0.007352, allocations: 121.8 kB / 0.6246 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007352, allocations: 0 / 0.6246 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002103/0.007563, allocations: 79.81 kB / 0.6247 GB, free: 6.395 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.0004194/0.007982, allocations: 0.7887 MB / 0.6255 GB, free: 5.574 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001794/0.008162, allocations: 159.3 kB / 0.6256 GB, free: 5.406 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.008163, allocations: 0 / 0.6256 GB, free: 5.406 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.257e-05/0.008205, allocations: 43.91 kB / 0.6257 GB, free: 5.363 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001137/0.008319, allocations: 7.984 kB / 0.6257 GB, free: 5.355 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.009441, allocations: 1.718 MB / 0.6274 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.862e-05/0.0095, allocations: 96.97 kB / 0.6274 GB, free: 3.426 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.463e-05/0.009525, allocations: 8.734 kB / 0.6275 GB, free: 3.418 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.009562, allocations: 28.48 kB / 0.6275 GB, free: 3.391 MB / 0.5886 GB Notification: Performance of SimCode: time 5.31e-07/0.009563, allocations: 0 / 0.6275 GB, free: 3.391 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01543/0.02499, allocations: 4.814 MB / 0.6322 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.852/6.877, allocations: 2.688 kB / 0.6322 GB, free: 14.79 MB / 0.6042 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_SetPoints_Examples_OccupancySchedule.fmu > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.6727523393929] Failed to read output from testmodel.py, exit status != 0: 6.959733196534216 6.971823001 6.965236187 Calling exit ...