Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.001731/0.001731, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.002167/0.002167, allocations: 213.5 kB / 22.25 MB, free: 5.242 MB / 14.72 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 1.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.715/2.715, allocations: 476 MB / 0.7699 GB, free: 4.926 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.00218/0.00218, allocations: 65 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3402, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003213/0.3434, allocations: 1.499 MB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001814/0.3453, allocations: 1.198 MB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.857e-05/0.3453, allocations: 0 / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.3455, allocations: 19.86 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.3457, allocations: 43.77 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.3459, allocations: 61.33 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.3462, allocations: 151.5 kB / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.3463, allocations: 33.28 kB / 1.285 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.3465, allocations: 87.75 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.3467, allocations: 58.94 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.835e-05/0.3468, allocations: 12 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.833e-05/0.3469, allocations: 24 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.347, allocations: 55.81 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.672e-05/0.347, allocations: 55.7 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.3474, allocations: 204.9 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3474, allocations: 0 / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3474, allocations: 7.938 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.3474, allocations: 0 / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007915/0.3482, allocations: 425.3 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3482, allocations: 8.031 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.317e-05/0.3483, allocations: 42.73 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.215e-05/0.3484, allocations: 16.84 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.3487, allocations: 202.2 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/0.349, allocations: 222.2 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.349, allocations: 8.375 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000453/0.3494, allocations: 264.3 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3495, allocations: 0 / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.3495, allocations: 4 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/0.3495, allocations: 11.98 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.387e-05/0.3496, allocations: 39.97 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.3508, allocations: 415.5 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.962e-05/0.3509, allocations: 34.56 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.82e-05/0.3509, allocations: 20.84 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.3509, allocations: 4 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.351, allocations: 30.56 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.351, allocations: 7.938 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.000332/0.3513, allocations: 105.5 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.3514, allocations: 55.34 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.3516, allocations: 215.8 kB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.3517, allocations: 33.7 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.3518, allocations: 116.2 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.3518, allocations: 39.81 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-05/0.3519, allocations: 33.7 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.352, allocations: 322.8 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.973e-05/0.3521, allocations: 27.98 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.3522, allocations: 102.2 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.3524, allocations: 146.2 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3524, allocations: 0 / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002762/0.3527, allocations: 153.3 kB / 1.289 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.3527, allocations: 8 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.3527, allocations: 4 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3528, allocations: 0 / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.3529, allocations: 27.92 kB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.3529, allocations: 7.938 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.881e-05/0.353, allocations: 15.89 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.353, allocations: 8.375 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001493/0.3531, allocations: 145.8 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.62e-05/0.3532, allocations: 19.91 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/0.3534, allocations: 107 kB / 1.289 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.3534, allocations: 0 / 1.289 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3534, allocations: 7.938 kB / 1.289 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3534, allocations: 3.938 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.3537, allocations: 184.7 kB / 1.289 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3537, allocations: 3.938 kB / 1.289 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.417e-05/0.3538, allocations: 19.92 kB / 1.289 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.3538, allocations: 0 / 1.289 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.3538, allocations: 8 kB / 1.289 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.3538, allocations: 4 kB / 1.289 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.3538, allocations: 7.922 kB / 1.289 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.354, allocations: 187.8 kB / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.531e-05/0.354, allocations: 11.91 kB / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.3541, allocations: 15.98 kB / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.3543, allocations: 11.98 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/0.3543, allocations: 11.92 kB / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.3543, allocations: 11.98 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001687/0.3545, allocations: 157.5 kB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3545, allocations: 7.938 kB / 1.29 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003181/0.3548, allocations: 31.94 kB / 1.29 GB, free: 4.488 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0007205/0.3555, allocations: 0.7461 MB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001845/0.3557, allocations: 72.09 kB / 1.291 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3557, allocations: 0 / 1.291 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.445e-05/0.3558, allocations: 27.92 kB / 1.291 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.3561, allocations: 23.92 kB / 1.291 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.3584, allocations: 1.922 MB / 1.293 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.3586, allocations: 122.1 kB / 1.293 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001402/0.3587, allocations: 52.94 kB / 1.293 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.807e-05/0.3588, allocations: 47.41 kB / 1.293 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.3588, allocations: 0 / 1.293 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03447/0.3933, allocations: 4.889 MB / 1.298 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.97, allocations: 6.516 kB / 1.298 GB, free: 12.58 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.393473298754543] Failed to read output from testmodel.py, exit status != 0: 12.5977667379193 12.111762941 11.758440908 Calling exit ...