Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007817/0.0007817, 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.0008086/0.0008086, 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.9024/0.9024, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.88/1.88, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.672e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002116/0.002142, allocations: 1.494 MB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.003265, allocations: 1.216 MB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.468e-05/0.003329, allocations: 7.875 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.003514, allocations: 11.92 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.003709, allocations: 47.66 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001562/0.003865, allocations: 65.72 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.004031, allocations: 151.5 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.004174, allocations: 37.23 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.004288, allocations: 103.8 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.004397, allocations: 39.89 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.004425, allocations: 8 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.385e-05/0.004489, allocations: 27.98 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.917e-05/0.004558, allocations: 51.77 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.639e-05/0.004615, allocations: 51.83 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.004852, allocations: 211.4 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.004854, allocations: 0 / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.343e-06/0.004856, allocations: 0 / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.393e-06/0.004863, allocations: 0 / 1.003 GB, free: 10.02 MB / 0.9636 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.0006019/0.005465, allocations: 429.3 kB / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.005508, allocations: 8.75 kB / 1.003 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/0.005553, allocations: 42.73 kB / 1.004 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.52e-05/0.005609, allocations: 16.84 kB / 1.004 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.005917, allocations: 203 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.006061, allocations: 230.1 kB / 1.004 GB, free: 9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.006073, allocations: 4.375 kB / 1.004 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.00634, allocations: 256.9 kB / 1.004 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.006348, allocations: 192 / 1.004 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.006369, allocations: 11.94 kB / 1.004 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.006391, allocations: 7.984 kB / 1.004 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.76e-05/0.006448, allocations: 35.98 kB / 1.004 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006793/0.007128, allocations: 419.5 kB / 1.005 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.977e-05/0.007198, allocations: 34.52 kB / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.00723, allocations: 20.84 kB / 1.005 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.007259, allocations: 4 kB / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.007286, allocations: 34.56 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.007287, allocations: 0 / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0002467/0.007534, allocations: 105.6 kB / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.007571, allocations: 55.41 kB / 1.005 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.007759, allocations: 211.9 kB / 1.005 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.007781, allocations: 29.7 kB / 1.005 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.256e-05/0.007853, allocations: 124.1 kB / 1.005 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.007878, allocations: 27.91 kB / 1.005 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.007918, allocations: 33.58 kB / 1.005 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.468e-05/0.008012, allocations: 330.8 kB / 1.006 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.139e-05/0.008054, allocations: 23.98 kB / 1.006 GB, free: 7.117 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.419e-05/0.008138, allocations: 106.3 kB / 1.006 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.008274, allocations: 142.1 kB / 1.006 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.008277, allocations: 0 / 1.006 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001895/0.008466, allocations: 157.3 kB / 1.006 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.008486, allocations: 9.656 kB / 1.006 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.008497, allocations: 7.984 kB / 1.006 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.008514, allocations: 4 kB / 1.006 GB, free: 6.621 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.669e-05/0.008601, allocations: 20 kB / 1.006 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.008611, allocations: 8.297 kB / 1.006 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.278e-05/0.008664, allocations: 15.89 kB / 1.006 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.008677, allocations: 15.94 kB / 1.006 GB, free: 6.562 MB / 0.9636 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.0001041/0.008781, allocations: 137.8 kB / 1.006 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.956e-05/0.00882, allocations: 15.91 kB / 1.006 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/0.008997, allocations: 115 kB / 1.006 GB, free: 6.281 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.009001, allocations: 0 / 1.006 GB, free: 6.281 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.009006, allocations: 0 / 1.006 GB, free: 6.281 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.009014, allocations: 7.969 kB / 1.006 GB, free: 6.273 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.009195, allocations: 192.5 kB / 1.007 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.009197, allocations: 0 / 1.007 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.587e-05/0.009233, allocations: 19.94 kB / 1.007 GB, free: 6.023 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.009237, allocations: 0 / 1.007 GB, free: 6.023 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.009248, allocations: 4 kB / 1.007 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.00925, allocations: 0 / 1.007 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.009251, allocations: 0 / 1.007 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.009412, allocations: 191.3 kB / 1.007 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.111e-05/0.009433, allocations: 23.89 kB / 1.007 GB, free: 5.793 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.009449, allocations: 0 / 1.007 GB, free: 5.793 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.009575, allocations: 15.98 kB / 1.007 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.799e-05/0.009593, allocations: 7.984 kB / 1.007 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.00961, allocations: 15.98 kB / 1.007 GB, free: 5.754 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001038/0.009714, allocations: 157.5 kB / 1.007 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.009714, allocations: 0 / 1.007 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002393/0.009953, allocations: 31.88 kB / 1.007 GB, free: 5.57 MB / 0.9636 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.0005025/0.01046, allocations: 0.7455 MB / 1.008 GB, free: 4.805 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001575/0.01061, allocations: 63.89 kB / 1.008 GB, free: 4.742 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.01062, allocations: 4 kB / 1.008 GB, free: 4.738 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.828e-05/0.01064, allocations: 27.86 kB / 1.008 GB, free: 4.711 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.01091, allocations: 31.92 kB / 1.008 GB, free: 4.68 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.01245, allocations: 1.917 MB / 1.01 GB, free: 2.605 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.552e-05/0.01253, allocations: 118.8 kB / 1.01 GB, free: 2.473 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 8.845e-05/0.01262, allocations: 56.44 kB / 1.01 GB, free: 2.418 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.001e-05/0.01269, allocations: 48.48 kB / 1.01 GB, free: 2.371 MB / 0.9636 GB Notification: Performance of SimCode: time 1.002e-06/0.01269, allocations: 0 / 1.01 GB, free: 2.371 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.03386, allocations: 4.999 MB / 1.015 GB, free: 13.54 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.129/7.163, allocations: 18.39 kB / 1.015 GB, free: 13.53 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 11.48368801549077] Failed to read output from testmodel.py, exit status != 0: 7.249273955821991 7.258945012 7.252378096 Calling exit ...