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.001877/0.001877, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.002356/0.002356, allocations: 220.8 kB / 22.25 MB, free: 5.215 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 8.031 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.8 MB / 0.7707 GB, free: 4.281 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.002022/0.002022, allocations: 65.33 kB / 1.117 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3279, allocations: 170 MB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002903/0.3308, allocations: 1.519 MB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.3326, allocations: 1.24 MB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.306e-05/0.3326, allocations: 0 / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.3328, allocations: 19.84 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.333, allocations: 43.8 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.3332, allocations: 67.64 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000223/0.3334, allocations: 147.6 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.3336, allocations: 36.8 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.3337, allocations: 87.7 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.3338, allocations: 57.44 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/0.3339, allocations: 12 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.922e-05/0.3339, allocations: 28 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.054e-05/0.334, allocations: 55.81 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.383e-05/0.3341, allocations: 71.58 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.3344, allocations: 207.1 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3344, allocations: 0 / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3344, allocations: 0 / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.3344, allocations: 0 / 1.287 GB, free: 8.105 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.0007049/0.3351, allocations: 425.3 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.3351, allocations: 12.03 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.045e-05/0.3352, allocations: 38.75 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.384e-05/0.3353, allocations: 16.84 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.3356, allocations: 194.2 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002094/0.3358, allocations: 230.1 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.3358, allocations: 4.375 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.3362, allocations: 161.5 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3362, allocations: 0 / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.3362, allocations: 7.984 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/0.3362, allocations: 11.98 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.149e-05/0.3363, allocations: 43.97 kB / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.3374, allocations: 427.5 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.757e-05/0.3374, allocations: 34.56 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.249e-05/0.3375, allocations: 24.84 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.3375, allocations: 0 / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.3375, allocations: 38.5 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.3375, allocations: 3.938 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0002729/0.3378, allocations: 109.7 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.3379, allocations: 59.34 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.3381, allocations: 215.8 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.3381, allocations: 25.7 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.625e-05/0.3382, allocations: 124.2 kB / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.3383, allocations: 31.73 kB / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.934e-05/0.3383, allocations: 33.7 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3385, allocations: 322.8 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.532e-05/0.3385, allocations: 27.98 kB / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.3386, allocations: 102.2 kB / 1.289 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.3388, allocations: 146.2 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3388, allocations: 0 / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002613/0.3391, allocations: 149.3 kB / 1.29 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3391, allocations: 8.375 kB / 1.29 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3391, allocations: 7.938 kB / 1.29 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3391, allocations: 4 kB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3392, allocations: 23.98 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.3392, allocations: 7.938 kB / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.228e-05/0.3393, allocations: 11.95 kB / 1.29 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.3393, allocations: 11.98 kB / 1.29 GB, free: 4.754 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.0001342/0.3394, allocations: 141.7 kB / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.601e-05/0.3395, allocations: 15.91 kB / 1.29 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.3397, allocations: 118.9 kB / 1.29 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3397, allocations: 4 kB / 1.29 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3397, allocations: 3.938 kB / 1.29 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3397, allocations: 0 / 1.29 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.34, allocations: 216.6 kB / 1.29 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.34, allocations: 0 / 1.29 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.387e-05/0.3401, allocations: 15.98 kB / 1.29 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3401, allocations: 0 / 1.29 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.3401, allocations: 7.984 kB / 1.29 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3401, allocations: 0 / 1.29 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3401, allocations: 3.938 kB / 1.29 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.3403, allocations: 191.4 kB / 1.291 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.565e-05/0.3403, allocations: 15.84 kB / 1.291 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.3404, allocations: 4 kB / 1.291 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.3406, allocations: 19.97 kB / 1.291 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.3406, allocations: 7.938 kB / 1.291 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.3407, allocations: 11.97 kB / 1.291 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001643/0.3408, allocations: 165.5 kB / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3408, allocations: 0 / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003351/0.3412, allocations: 28 kB / 1.291 GB, free: 3.723 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.0006739/0.3418, allocations: 0.7547 MB / 1.291 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001751/0.342, allocations: 67.84 kB / 1.292 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.342, allocations: 0 / 1.292 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.305e-05/0.342, allocations: 27.92 kB / 1.292 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.3424, allocations: 20.69 kB / 1.292 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.3445, allocations: 1.916 MB / 1.293 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.3449, allocations: 0.7314 MB / 1.294 GB, free: 12 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001399/0.345, allocations: 52.92 kB / 1.294 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.3451, allocations: 47.42 kB / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of SimCode: time 3.2e-07/0.3451, allocations: 4 kB / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03144/0.3765, allocations: 4.38 MB / 1.299 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.39, allocations: 6.625 kB / 1.299 GB, free: 11.68 MB / 0.9981 GB " [Timeout remaining time 288] (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: 17.95740367399958] Failed to read output from testmodel.py, exit status != 0: 11.983826371999385 11.512395985 11.173935972 Calling exit ...