Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.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.0007608/0.0007608, 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.0007495/0.0007495, allocations: 169.9 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.8688/0.8688, allocations: 177.1 MB / 202.8 MB, free: 5.539 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001491/0.001491, allocations: 231 kB / 259.4 MB, free: 12.9 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6761/0.6761, allocations: 138.4 MB / 454.3 MB, free: 29.98 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.791e-05/1.926e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.001681/0.0017, allocations: 1.382 MB / 0.6476 GB, free: 480 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001109/0.001811, allocations: 35.89 kB / 0.6477 GB, free: 444 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.656e-05/0.001848, allocations: 3.938 kB / 0.6477 GB, free: 440 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.00199, allocations: 3.938 kB / 0.6477 GB, free: 436 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 9.722e-05/0.002087, allocations: 19.91 kB / 0.6477 GB, free: 416 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 3.827e-06/0.002091, allocations: 0 / 0.6477 GB, free: 416 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.284e-05/0.002144, allocations: 15.92 kB / 0.6477 GB, free: 400 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.002182, allocations: 0 / 0.6477 GB, free: 400 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.703e-05/0.002219, allocations: 11.94 kB / 0.6477 GB, free: 388 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.457e-05/0.002263, allocations: 7.984 kB / 0.6477 GB, free: 380 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.002282, allocations: 4 kB / 0.6477 GB, free: 376 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 3.649e-05/0.002318, allocations: 8 kB / 0.6477 GB, free: 368 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.811e-05/0.002356, allocations: 15.88 kB / 0.6478 GB, free: 352 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.395e-05/0.00237, allocations: 3.984 kB / 0.6478 GB, free: 348 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 7.869e-05/0.002449, allocations: 19.92 kB / 0.6478 GB, free: 328 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.002451, allocations: 3.938 kB / 0.6478 GB, free: 324 kB / 0.5573 GB Notification: Performance of FrontEnd: time 7.31e-07/0.002452, allocations: 0 / 0.6478 GB, free: 324 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.006e-06/0.002455, allocations: 0 / 0.6478 GB, free: 324 kB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002304/0.002685, allocations: 262.2 kB / 0.648 GB, free: 28 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.002718, allocations: 9.938 kB / 0.648 GB, free: 20 kB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.222/0.2248, allocations: 36.75 kB / 0.6481 GB, free: 57.14 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.2248, allocations: 5.188 kB / 0.6481 GB, free: 57.14 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.225, allocations: 110.9 kB / 0.6482 GB, free: 57.02 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.225, allocations: 1.031 kB / 0.6482 GB, free: 57.02 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-06/0.225, allocations: 1.344 kB / 0.6482 GB, free: 57.02 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.146e-05/0.225, allocations: 39.36 kB / 0.6482 GB, free: 56.99 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.2251, allocations: 192 / 0.6482 GB, free: 56.99 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.2251, allocations: 384 / 0.6482 GB, free: 56.99 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.2251, allocations: 4.125 kB / 0.6482 GB, free: 56.98 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.972e-05/0.2251, allocations: 6.328 kB / 0.6482 GB, free: 56.98 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/0.2253, allocations: 208 kB / 0.6484 GB, free: 56.76 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.631e-05/0.2253, allocations: 23.34 kB / 0.6485 GB, free: 56.73 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.358e-05/0.2254, allocations: 6.203 kB / 0.6485 GB, free: 56.73 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.2254, allocations: 3.125 kB / 0.6485 GB, free: 56.73 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.2254, allocations: 43.55 kB / 0.6485 GB, free: 56.68 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.2254, allocations: 1.406 kB / 0.6485 GB, free: 56.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001231/0.2255, allocations: 36.56 kB / 0.6485 GB, free: 56.65 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/0.2255, allocations: 54.08 kB / 0.6486 GB, free: 56.59 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.465e-05/0.2256, allocations: 115.4 kB / 0.6487 GB, free: 56.49 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.721e-06/0.2256, allocations: 27.45 kB / 0.6487 GB, free: 56.46 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.201e-05/0.2256, allocations: 90.64 kB / 0.6488 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.142e-05/0.2256, allocations: 5.797 kB / 0.6488 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/0.2257, allocations: 12.59 kB / 0.6488 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.767e-05/0.2257, allocations: 313.8 kB / 0.6491 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.257e-06/0.2257, allocations: 3.312 kB / 0.6491 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-06/0.2257, allocations: 3.688 kB / 0.6491 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.768e-05/0.2257, allocations: 12.45 kB / 0.6492 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2257, allocations: 2.078 kB / 0.6492 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.633e-05/0.2258, allocations: 46.44 kB / 0.6492 GB, free: 56 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2258, allocations: 3.625 kB / 0.6492 GB, free: 56 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2258, allocations: 3.656 kB / 0.6492 GB, free: 56 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2258, allocations: 0.8125 kB / 0.6492 GB, free: 56 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.515e-05/0.2259, allocations: 1.969 kB / 0.6492 GB, free: 56 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.2259, allocations: 2.281 kB / 0.6492 GB, free: 56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.769e-06/0.2259, allocations: 1.031 kB / 0.6492 GB, free: 56 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.2259, allocations: 2.625 kB / 0.6492 GB, free: 56 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 3.644e-05/0.2259, allocations: 113.3 kB / 0.6493 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.2259, allocations: 6.469 kB / 0.6493 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.667e-05/0.226, allocations: 45.2 kB / 0.6494 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.226, allocations: 0.5938 kB / 0.6494 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.226, allocations: 0.75 kB / 0.6494 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.226, allocations: 1.156 kB / 0.6494 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.955e-05/0.2261, allocations: 129 kB / 0.6495 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2261, allocations: 0.8438 kB / 0.6495 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.819e-06/0.2261, allocations: 2.703 kB / 0.6495 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.2261, allocations: 6.719 kB / 0.6495 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.2261, allocations: 1.609 kB / 0.6495 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2261, allocations: 5.438 kB / 0.6495 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.2261, allocations: 3.422 kB / 0.6495 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.758e-05/0.2262, allocations: 128.6 kB / 0.6496 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.058e-05/0.2262, allocations: 8.609 kB / 0.6496 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-06/0.2262, allocations: 0.8438 kB / 0.6496 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.29e-05/0.2262, allocations: 1.219 kB / 0.6497 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/0.2262, allocations: 4.203 kB / 0.6497 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.2262, allocations: 1.359 kB / 0.6497 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.937e-05/0.2263, allocations: 96.23 kB / 0.6497 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2263, allocations: 0 / 0.6497 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001509/0.2264, allocations: 11.19 kB / 0.6498 GB, free: 55.48 MB / 0.5573 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 (1): * Single equations (assignments): 1 * 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.0003003/0.2267, allocations: 0.6871 MB / 0.6504 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 6.85e-05/0.2268, allocations: 6.625 kB / 0.6504 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2268, allocations: 0 / 0.6504 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.821e-06/0.2268, allocations: 11.02 kB / 0.6504 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.2269, allocations: 2.938 kB / 0.6504 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005826/0.2275, allocations: 1.18 MB / 0.6516 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.082e-05/0.2276, allocations: 64.73 kB / 0.6517 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 8.914e-05/0.2276, allocations: 5.219 kB / 0.6517 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.52e-05/0.2277, allocations: 12.77 kB / 0.6517 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of SimCode: time 6.61e-07/0.2277, allocations: 2.719 kB / 0.6517 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01419/0.2419, allocations: 2.055 MB / 0.6537 GB, free: 52.76 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.498/6.74, allocations: 3.531 kB / 0.6537 GB, free: 52.76 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 100 BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.417309296317399] Failed to read output from testmodel.py, exit status != 0: 6.816022789105773 6.824090218 6.820044872 Calling exit ...