Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.00179/0.00179, allocations: 103.5 kB / 16.45 MB, free: 6.449 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.002061/0.002061, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.606/1.606, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.304/3.304, allocations: 0.49 GB / 0.7916 GB, free: 33.25 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.WeeklySchedule7to19,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",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.002037/0.002037, allocations: 72.66 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3648, allocations: 176.1 MB / 1.321 GB, free: 3.41 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002803/0.3676, allocations: 1.399 MB / 1.322 GB, free: 2.004 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001614/0.3678, allocations: 43.77 kB / 1.322 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.934e-05/0.3678, allocations: 0 / 1.322 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.368, allocations: 11.92 kB / 1.322 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.3681, allocations: 15.92 kB / 1.322 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.627e-06/0.3681, allocations: 0 / 1.322 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.1e-05/0.3682, allocations: 19.92 kB / 1.322 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.3682, allocations: 0 / 1.322 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.224e-05/0.3682, allocations: 11.94 kB / 1.322 GB, free: 1.902 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.237e-05/0.3683, allocations: 11.92 kB / 1.322 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.3683, allocations: 4 kB / 1.322 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.685e-05/0.3683, allocations: 12 kB / 1.322 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.053e-05/0.3684, allocations: 3.984 kB / 1.322 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.3684, allocations: 11.94 kB / 1.322 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.3685, allocations: 32.12 kB / 1.322 GB, free: 1.828 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3685, allocations: 0 / 1.322 GB, free: 1.828 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3685, allocations: 4 kB / 1.322 GB, free: 1.824 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3685, allocations: 0 / 1.322 GB, free: 1.824 MB / 1.014 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.0003929/0.3689, allocations: 335.3 kB / 1.323 GB, free: 1.445 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.369, allocations: 11.98 kB / 1.323 GB, free: 1.434 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.706e-05/0.369, allocations: 38.75 kB / 1.323 GB, free: 1.387 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.369, allocations: 4.891 kB / 1.323 GB, free: 1.383 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.3692, allocations: 176.3 kB / 1.323 GB, free: 1.172 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.024e-06/0.3692, allocations: 4.359 kB / 1.323 GB, free: 1.168 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.3693, allocations: 384 / 1.323 GB, free: 1.168 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.098e-05/0.3693, allocations: 34.2 kB / 1.323 GB, free: 1.129 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3693, allocations: 3.938 kB / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.3694, allocations: 0 / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.3694, allocations: 0 / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.406e-05/0.3694, allocations: 12 kB / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.3696, allocations: 153.7 kB / 1.323 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.202e-05/0.3696, allocations: 18.52 kB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.057e-05/0.3696, allocations: 8.922 kB / 1.323 GB, free: 0.875 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.3696, allocations: 3.984 kB / 1.323 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.3697, allocations: 30.56 kB / 1.323 GB, free: 0.832 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.3697, allocations: 0 / 1.323 GB, free: 0.832 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001348/0.3698, allocations: 49.59 kB / 1.323 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.3699, allocations: 55.34 kB / 1.323 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.37, allocations: 117.8 kB / 1.323 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.37, allocations: 25.7 kB / 1.323 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.37, allocations: 88.14 kB / 1.323 GB, free: 476 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.3701, allocations: 7.922 kB / 1.323 GB, free: 468 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.3701, allocations: 9.719 kB / 1.323 GB, free: 452 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3702, allocations: 319 kB / 1.324 GB, free: 124 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/0.3703, allocations: 4 kB / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.923e-06/0.3703, allocations: 0 / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.583e-05/0.3703, allocations: 8.859 kB / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.3703, allocations: 4 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.744e-05/0.3704, allocations: 45.58 kB / 1.324 GB, free: 52 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3704, allocations: 11.94 kB / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3704, allocations: 0 / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3704, allocations: 96 / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.572e-05/0.3704, allocations: 4 kB / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.3704, allocations: 0 / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.669e-05/0.3705, allocations: 8 kB / 1.324 GB, free: 28 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.3705, allocations: 0 / 1.324 GB, free: 28 kB / 1.014 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 9.812e-05/0.3706, allocations: 109.8 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.3706, allocations: 7.938 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.211e-05/0.3707, allocations: 41.22 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.3707, allocations: 4 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3707, allocations: 4.031 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3707, allocations: 7.922 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.3708, allocations: 153.7 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.3708, allocations: 0 / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.456e-05/0.3708, allocations: 3.938 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3708, allocations: 3.938 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.3708, allocations: 4 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.3708, allocations: 0 / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3708, allocations: 0 / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.507e-05/0.3709, allocations: 69.08 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.371, allocations: 77.11 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.371, allocations: 3.938 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.348e-06/0.371, allocations: 0 / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.371, allocations: 4 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.371, allocations: 0 / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.778e-05/0.3711, allocations: 95.27 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3711, allocations: 0 / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001829/0.3713, allocations: 4 kB / 1.324 GB, free: 15.34 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 (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.0006603/0.3719, allocations: 0.6214 MB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.502e-05/0.372, allocations: 16.02 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.372, allocations: 0 / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.135e-06/0.372, allocations: 0 / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.3721, allocations: 9.375 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.3732, allocations: 1.098 MB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.3735, allocations: 0.6768 MB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.922e-05/0.3736, allocations: 4 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.211e-05/0.3736, allocations: 15.38 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3736, allocations: 4.031 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02523/0.3989, allocations: 1.41 MB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.498/8.897, allocations: 10.45 kB / 1.328 GB, free: 11.44 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.csv --start-time 0 --stop-time 1.2096e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 483.84 Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.84999685199] Failed to read output from testmodel.py, exit status != 0: 8.967523623956367 8.989352014 8.616930515 Calling exit ...