Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.0007555/0.0007555, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007751/0.0007751, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8618/0.8618, allocations: 177.2 MB / 202.8 MB, free: 5.574 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.001312/0.001312, allocations: 234.5 kB / 259.4 MB, free: 12.92 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.6307/0.6307, allocations: 138.4 MB / 454.3 MB, free: 1.613 MB / 362.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.Examples.WeeklySchedule7to19,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.6463 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.995e-05, allocations: 2.281 kB / 0.6463 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001624/0.001644, allocations: 1.395 MB / 0.6476 GB, free: 28.02 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001176/0.001761, allocations: 42.19 kB / 0.6477 GB, free: 27.99 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.376e-05/0.001805, allocations: 0 / 0.6477 GB, free: 27.99 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.001958, allocations: 14.22 kB / 0.6477 GB, free: 27.98 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.002059, allocations: 20 kB / 0.6477 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 4.458e-06/0.002063, allocations: 0 / 0.6477 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.567e-05/0.002129, allocations: 15.19 kB / 0.6477 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.002168, allocations: 5.406 kB / 0.6477 GB, free: 27.95 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.781e-05/0.002216, allocations: 7.453 kB / 0.6477 GB, free: 27.95 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.149e-05/0.002267, allocations: 7.938 kB / 0.6478 GB, free: 27.95 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.002287, allocations: 1.156 kB / 0.6478 GB, free: 27.95 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 4.317e-05/0.00233, allocations: 19.92 kB / 0.6478 GB, free: 27.93 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.906e-05/0.002369, allocations: 9.219 kB / 0.6478 GB, free: 27.93 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.478e-05/0.002384, allocations: 1.219 kB / 0.6478 GB, free: 27.93 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 9.68e-05/0.002481, allocations: 32.48 kB / 0.6478 GB, free: 27.91 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.002483, allocations: 0 / 0.6478 GB, free: 27.91 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.01e-07/0.002484, allocations: 0 / 0.6478 GB, free: 27.91 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.002487, allocations: 0 / 0.6478 GB, free: 27.91 MB / 0.5105 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.0002234/0.002711, allocations: 258.5 kB / 0.6481 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.002748, allocations: 10.16 kB / 0.6481 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.134e-05/0.002769, allocations: 31.84 kB / 0.6481 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.025e-05/0.002789, allocations: 6.344 kB / 0.6481 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.002893, allocations: 119.4 kB / 0.6482 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.002901, allocations: 384 / 0.6482 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-06/0.002907, allocations: 384 / 0.6482 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.604e-05/0.002973, allocations: 38.22 kB / 0.6483 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.002979, allocations: 192 / 0.6483 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.002986, allocations: 384 / 0.6483 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.003002, allocations: 5.25 kB / 0.6483 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.69e-05/0.003019, allocations: 6.297 kB / 0.6483 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.782e-05/0.003107, allocations: 126 kB / 0.6484 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.483e-05/0.003142, allocations: 17.05 kB / 0.6484 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.266e-05/0.003155, allocations: 18.25 kB / 0.6484 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.003173, allocations: 1.344 kB / 0.6484 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.328e-05/0.003186, allocations: 35.72 kB / 0.6485 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 5.11e-07/0.003186, allocations: 0 / 0.6485 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001019/0.003288, allocations: 34.02 kB / 0.6485 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/0.003308, allocations: 55.34 kB / 0.6485 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.313e-05/0.003371, allocations: 119.6 kB / 0.6487 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.508e-06/0.003376, allocations: 25.7 kB / 0.6487 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.663e-05/0.003392, allocations: 89.34 kB / 0.6488 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.00341, allocations: 5.359 kB / 0.6488 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.816e-05/0.003428, allocations: 15.03 kB / 0.6488 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.547e-05/0.003453, allocations: 317.1 kB / 0.6491 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-06/0.003461, allocations: 1.344 kB / 0.6491 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.119e-06/0.003467, allocations: 5.438 kB / 0.6491 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.976e-05/0.003486, allocations: 13.72 kB / 0.6491 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.003488, allocations: 0 / 0.6491 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.361e-05/0.003522, allocations: 39.92 kB / 0.6491 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.003534, allocations: 5.406 kB / 0.6492 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.003538, allocations: 1.219 kB / 0.6492 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.003549, allocations: 4.094 kB / 0.6492 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.449e-05/0.003593, allocations: 6.188 kB / 0.6492 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.003597, allocations: 0 / 0.6492 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.747e-06/0.003606, allocations: 1.25 kB / 0.6492 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.00361, allocations: 0 / 0.6492 GB, free: 26.42 MB / 0.5105 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.376e-05/0.003644, allocations: 113.1 kB / 0.6493 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-06/0.003648, allocations: 5.453 kB / 0.6493 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.66e-05/0.003705, allocations: 48.23 kB / 0.6493 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.003707, allocations: 7.969 kB / 0.6493 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.003711, allocations: 5.281 kB / 0.6493 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.003713, allocations: 4 kB / 0.6493 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.689e-05/0.00375, allocations: 125.8 kB / 0.6495 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.003751, allocations: 0 / 0.6495 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.354e-06/0.003758, allocations: 2.469 kB / 0.6495 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.003759, allocations: 0 / 0.6495 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.003765, allocations: 1.562 kB / 0.6495 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.1e-07/0.003765, allocations: 0 / 0.6495 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.003766, allocations: 3.938 kB / 0.6495 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.672e-05/0.003803, allocations: 61.86 kB / 0.6495 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-06/0.00381, allocations: 9.188 kB / 0.6495 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-06/0.003819, allocations: 5.344 kB / 0.6495 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.669e-06/0.003824, allocations: 3.938 kB / 0.6495 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.003e-05/0.003834, allocations: 5.406 kB / 0.6495 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.003835, allocations: 3.938 kB / 0.6496 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.728e-05/0.003863, allocations: 97.42 kB / 0.6496 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.003863, allocations: 0 / 0.6496 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001236/0.003986, allocations: 7.344 kB / 0.6497 GB, free: 25.89 MB / 0.5105 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.00021/0.004196, allocations: 0.6046 MB / 0.6502 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.72e-05/0.004254, allocations: 8.188 kB / 0.6502 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.004255, allocations: 0 / 0.6502 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.749e-06/0.00426, allocations: 2.656 kB / 0.6503 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001044/0.004364, allocations: 5.344 kB / 0.6503 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004876/0.004852, allocations: 1.123 MB / 0.6514 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.72e-05/0.004879, allocations: 62.91 kB / 0.6514 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.85e-05/0.004927, allocations: 3.062 kB / 0.6514 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.004954, allocations: 10.03 kB / 0.6514 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of SimCode: time 6.21e-07/0.004955, allocations: 0 / 0.6514 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.01899, allocations: 2.074 MB / 0.6535 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.231/6.25, allocations: 7.562 kB / 0.6535 GB, free: 22.7 MB / 0.5105 GB " [Timeout remaining time 654] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.csv --start-time 0 --stop-time 1.2096e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 483.84 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 8.997944588772953] Failed to read output from testmodel.py, exit status != 0: 6.324631987139583 6.331851923 6.328065544 Calling exit ...