Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0013/0.0013, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001472/0.001472, allocations: 210.9 kB / 22.24 MB, free: 4.859 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.211/3.211, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_12_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.002067/0.002067, allocations: 72.44 kB / 1.153 GB, free: 25.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3315, allocations: 176.1 MB / 1.325 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002931/0.3344, allocations: 1.501 MB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001867/0.3363, allocations: 1.2 MB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.521e-05/0.3364, allocations: 0 / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.3366, allocations: 23.81 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.3368, allocations: 39.77 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.337, allocations: 58.66 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.3372, allocations: 155.5 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.3373, allocations: 29.52 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.3374, allocations: 95.69 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.3376, allocations: 51.7 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.356e-05/0.3376, allocations: 12 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.247e-05/0.3377, allocations: 27.98 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.422e-05/0.3378, allocations: 47.89 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.643e-05/0.3379, allocations: 59.64 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.3382, allocations: 207.2 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3382, allocations: 0 / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3382, allocations: 0 / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.3382, allocations: 0 / 1.328 GB, free: 14.86 MB / 1.029 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.0007625/0.3389, allocations: 429.3 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.339, allocations: 12.03 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.581e-05/0.339, allocations: 42.67 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.126e-05/0.3391, allocations: 20.84 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.3395, allocations: 202.7 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002201/0.3397, allocations: 222.2 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.3397, allocations: 8.375 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004193/0.3402, allocations: 268.3 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3402, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.3402, allocations: 4 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.3402, allocations: 4 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.027e-05/0.3403, allocations: 46.78 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.3414, allocations: 407.5 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.578e-05/0.3415, allocations: 42.56 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.61e-05/0.3415, allocations: 28.78 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.3415, allocations: 4 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.3416, allocations: 34.56 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.3416, allocations: 0 / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0002826/0.3419, allocations: 101.8 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.3419, allocations: 59.33 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.3422, allocations: 211.8 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.3422, allocations: 25.7 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.3423, allocations: 132.1 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.3423, allocations: 31.95 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.113e-05/0.3424, allocations: 33.7 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3426, allocations: 322.8 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.134e-05/0.3426, allocations: 35.86 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.3427, allocations: 98.28 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.3429, allocations: 146 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3429, allocations: 0 / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002696/0.3432, allocations: 153.5 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.3432, allocations: 8 kB / 1.331 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.3432, allocations: 4 kB / 1.331 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.3433, allocations: 4 kB / 1.331 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.3434, allocations: 19.98 kB / 1.331 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.3434, allocations: 15.94 kB / 1.331 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.545e-05/0.3435, allocations: 19.88 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.3435, allocations: 8 kB / 1.332 GB, free: 11.38 MB / 1.029 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.0001295/0.3436, allocations: 141.1 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.576e-05/0.3437, allocations: 20.06 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.3439, allocations: 119 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.3439, allocations: 4 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3439, allocations: 3.938 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.3439, allocations: 0 / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.3441, allocations: 184.7 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3441, allocations: 0 / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.864e-05/0.3442, allocations: 12 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.3442, allocations: 0 / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.3442, allocations: 0 / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.3442, allocations: 4 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3442, allocations: 11.88 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.3444, allocations: 191.4 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.883e-05/0.3445, allocations: 15.89 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.3445, allocations: 8 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.3447, allocations: 19.92 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/0.3447, allocations: 11.92 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.3448, allocations: 11.98 kB / 1.332 GB, free: 10.56 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001602/0.3449, allocations: 157.5 kB / 1.332 GB, free: 10.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3449, allocations: 0 / 1.332 GB, free: 10.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003046/0.3452, allocations: 35.94 kB / 1.332 GB, free: 10.38 MB / 1.029 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.0007211/0.346, allocations: 0.7514 MB / 1.333 GB, free: 9.602 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001808/0.3461, allocations: 68.39 kB / 1.333 GB, free: 9.535 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3461, allocations: 4.25 kB / 1.333 GB, free: 9.531 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.271e-05/0.3462, allocations: 23.94 kB / 1.333 GB, free: 9.508 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.3465, allocations: 21.81 kB / 1.333 GB, free: 9.488 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.3487, allocations: 1.917 MB / 1.335 GB, free: 7.418 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.3488, allocations: 126.1 kB / 1.335 GB, free: 7.273 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001395/0.349, allocations: 52.88 kB / 1.335 GB, free: 7.223 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.362e-05/0.3491, allocations: 43.42 kB / 1.335 GB, free: 7.18 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3491, allocations: 0 / 1.335 GB, free: 7.18 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04367/0.3927, allocations: 4.896 MB / 1.34 GB, free: 2.445 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.36, allocations: 5.422 kB / 1.34 GB, free: 2.445 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.285958507098258] Failed to read output from testmodel.py, exit status != 0: 12.466874609235674 12.491804008999999 12.149227106 Calling exit ...