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.001756/0.001756, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002108/0.002108, allocations: 214.2 kB / 22.24 MB, free: 5.262 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 7.785 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.737/2.737, allocations: 476 MB / 0.7699 GB, free: 4.746 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.002111/0.002111, allocations: 68.47 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3334, allocations: 169.9 MB / 1.283 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003593/0.337, allocations: 1.51 MB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002038/0.339, allocations: 1.194 MB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.957e-05/0.3391, allocations: 0 / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.3393, allocations: 19.86 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.3395, allocations: 47.77 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.3397, allocations: 59.47 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000218/0.3399, allocations: 155.5 kB / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.3401, allocations: 33.3 kB / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.3402, allocations: 83.75 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.3403, allocations: 55.64 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.519e-05/0.3404, allocations: 15.94 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.03e-05/0.3405, allocations: 24 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.657e-05/0.3405, allocations: 51.88 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.54e-05/0.3406, allocations: 63.64 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003047/0.3409, allocations: 193 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.3409, allocations: 7.938 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3409, allocations: 0 / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.3409, allocations: 4 kB / 1.286 GB, free: 8.984 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.0007586/0.3417, allocations: 425.3 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.3417, allocations: 12.03 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.068e-05/0.3418, allocations: 46.67 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.613e-05/0.3419, allocations: 16.84 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.3423, allocations: 198.2 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002278/0.3425, allocations: 222.2 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.3425, allocations: 4.375 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.343, allocations: 272.2 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.343, allocations: 4 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.343, allocations: 0 / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.974e-05/0.343, allocations: 8 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.49e-05/0.3431, allocations: 43.97 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.3442, allocations: 411.5 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.956e-05/0.3443, allocations: 30.56 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.395e-05/0.3444, allocations: 28.84 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.3444, allocations: 0 / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.3444, allocations: 34.56 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 2.925e-06/0.3444, allocations: 3.984 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0002815/0.3447, allocations: 105.5 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.3447, allocations: 55.34 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.345, allocations: 215.8 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.345, allocations: 29.7 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.209e-05/0.3451, allocations: 124.2 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.3452, allocations: 35.88 kB / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/0.3452, allocations: 33.64 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.3454, allocations: 322.8 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.332e-05/0.3454, allocations: 27.98 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.3456, allocations: 98.28 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.3458, allocations: 146.1 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3458, allocations: 0 / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002834/0.3461, allocations: 157.5 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3461, allocations: 4 kB / 1.289 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.3461, allocations: 7.938 kB / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.3461, allocations: 4 kB / 1.289 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.3462, allocations: 27.92 kB / 1.289 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3462, allocations: 3.938 kB / 1.289 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.419e-05/0.3463, allocations: 15.89 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.3463, allocations: 11.98 kB / 1.289 GB, free: 5.52 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.0001583/0.3465, allocations: 142 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.677e-05/0.3465, allocations: 15.91 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.3468, allocations: 115 kB / 1.289 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3468, allocations: 0 / 1.289 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.3468, allocations: 3.938 kB / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3468, allocations: 0 / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.347, allocations: 184.7 kB / 1.289 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.347, allocations: 0 / 1.289 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.414e-05/0.3471, allocations: 19.92 kB / 1.289 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.3471, allocations: 0 / 1.289 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3471, allocations: 4 kB / 1.289 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3471, allocations: 4 kB / 1.289 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3471, allocations: 3.938 kB / 1.289 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.3473, allocations: 195.4 kB / 1.29 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.696e-05/0.3474, allocations: 15.89 kB / 1.29 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.3474, allocations: 0 / 1.29 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.3476, allocations: 27.92 kB / 1.29 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.3477, allocations: 7.922 kB / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.3477, allocations: 11.98 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001721/0.3479, allocations: 161.5 kB / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3479, allocations: 0 / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003095/0.3482, allocations: 35.94 kB / 1.29 GB, free: 4.512 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.0007289/0.3489, allocations: 0.7463 MB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001787/0.3491, allocations: 68.53 kB / 1.291 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3491, allocations: 4.062 kB / 1.291 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.036e-05/0.3491, allocations: 23.98 kB / 1.291 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.3494, allocations: 25.75 kB / 1.291 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.3517, allocations: 1.92 MB / 1.293 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.3518, allocations: 122.1 kB / 1.293 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001308/0.352, allocations: 52.94 kB / 1.293 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.497e-05/0.352, allocations: 51.39 kB / 1.293 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.352, allocations: 3.938 kB / 1.293 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03485/0.3869, allocations: 4.891 MB / 1.298 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.17, allocations: 15.08 kB / 1.298 GB, free: 12.59 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 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.88602129323408] Failed to read output from testmodel.py, exit status != 0: 12.834138951264322 12.310710666 11.964502313 Calling exit ...