Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008451/0.0008451, 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.0008167/0.0008167, allocations: 170.3 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.889/0.889, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.814/1.814, allocations: 389 MB / 0.633 GB, free: 12.68 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.WeeklySchedule7to19,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.9996 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.093e-05, allocations: 2.281 kB / 0.9996 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002804/0.002825, allocations: 1.397 MB / 1.001 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0001611/0.002986, allocations: 43.77 kB / 1.001 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.585e-05/0.003042, allocations: 3.938 kB / 1.001 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.003224, allocations: 11.92 kB / 1.001 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.003356, allocations: 8 kB / 1.001 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 5.41e-06/0.003361, allocations: 3.938 kB / 1.001 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 8.893e-05/0.00345, allocations: 27.86 kB / 1.001 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.631e-05/0.003496, allocations: 0 / 1.001 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 5.545e-05/0.003552, allocations: 11.97 kB / 1.001 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 5.56e-05/0.003607, allocations: 11.94 kB / 1.001 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.003632, allocations: 0 / 1.001 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 5.482e-05/0.003687, allocations: 11.94 kB / 1.001 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.851e-05/0.003735, allocations: 0 / 1.001 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.238e-05/0.003757, allocations: 8 kB / 1.001 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.003883, allocations: 35.83 kB / 1.001 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.003886, allocations: 0 / 1.001 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.024e-06/0.003888, allocations: 0 / 1.001 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.003892, allocations: 4 kB / 1.001 GB, free: 10.79 MB / 0.9167 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.0003099/0.004202, allocations: 250.3 kB / 1.001 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.004249, allocations: 8.75 kB / 1.001 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.481e-05/0.004284, allocations: 38.75 kB / 1.001 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.004309, allocations: 0.9375 kB / 1.001 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.004506, allocations: 117.7 kB / 1.002 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.004515, allocations: 384 / 1.002 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.004525, allocations: 4.375 kB / 1.002 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.569e-05/0.00462, allocations: 30.25 kB / 1.002 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.004628, allocations: 192 / 1.002 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.004636, allocations: 12.31 kB / 1.002 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.004659, allocations: 4.125 kB / 1.002 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.449e-05/0.004683, allocations: 4 kB / 1.002 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.004822, allocations: 124.8 kB / 1.002 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 4.156e-05/0.004864, allocations: 26.52 kB / 1.002 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.842e-05/0.004882, allocations: 8.922 kB / 1.002 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.004901, allocations: 0 / 1.002 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.004922, allocations: 30.56 kB / 1.002 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.004923, allocations: 0 / 1.002 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1): time 0.0001347/0.005057, allocations: 49.58 kB / 1.002 GB, free: 9.953 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.005095, allocations: 63.41 kB / 1.002 GB, free: 9.879 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.36e-05/0.005188, allocations: 113.8 kB / 1.002 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.005198, allocations: 25.7 kB / 1.002 GB, free: 9.727 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.005235, allocations: 88.14 kB / 1.002 GB, free: 9.637 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.005256, allocations: 3.984 kB / 1.002 GB, free: 9.633 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.005284, allocations: 9.719 kB / 1.002 GB, free: 9.617 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.281e-05/0.005377, allocations: 318.8 kB / 1.002 GB, free: 9.297 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.005391, allocations: 3.984 kB / 1.002 GB, free: 9.293 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.636e-06/0.005399, allocations: 4 kB / 1.002 GB, free: 9.289 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.961e-05/0.005429, allocations: 16.86 kB / 1.002 GB, free: 9.27 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.005431, allocations: 4 kB / 1.002 GB, free: 9.266 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.303e-05/0.005494, allocations: 33.66 kB / 1.003 GB, free: 9.227 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.005508, allocations: 8 kB / 1.003 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.005513, allocations: 0 / 1.003 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.005528, allocations: 0 / 1.003 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.64e-05/0.005584, allocations: 7.922 kB / 1.003 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.00559, allocations: 4 kB / 1.003 GB, free: 9.207 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.293e-05/0.005603, allocations: 0 / 1.003 GB, free: 9.207 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.005609, allocations: 0 / 1.003 GB, free: 9.207 MB / 0.9167 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 7.184e-05/0.005681, allocations: 117.9 kB / 1.003 GB, free: 9.082 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.005692, allocations: 3.984 kB / 1.003 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.73e-05/0.005789, allocations: 45.09 kB / 1.003 GB, free: 9.023 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.005791, allocations: 0 / 1.003 GB, free: 9.023 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.005797, allocations: 3.938 kB / 1.003 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.005799, allocations: 0 / 1.003 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.788e-05/0.005887, allocations: 128.7 kB / 1.003 GB, free: 8.852 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.005888, allocations: 0 / 1.003 GB, free: 8.852 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.794e-05/0.005906, allocations: 4 kB / 1.003 GB, free: 8.848 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.005908, allocations: 0 / 1.003 GB, free: 8.848 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.005914, allocations: 0 / 1.003 GB, free: 8.848 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.005915, allocations: 7.969 kB / 1.003 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.005917, allocations: 3.938 kB / 1.003 GB, free: 8.836 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.586e-05/0.005993, allocations: 69.8 kB / 1.003 GB, free: 8.75 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.126e-06/0.006001, allocations: 8 kB / 1.003 GB, free: 8.742 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.006012, allocations: 0 / 1.003 GB, free: 8.742 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.428e-06/0.006021, allocations: 0 / 1.003 GB, free: 8.742 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.372e-05/0.006035, allocations: 3.938 kB / 1.003 GB, free: 8.738 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.006038, allocations: 7.938 kB / 1.003 GB, free: 8.73 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.065e-05/0.006089, allocations: 91.27 kB / 1.003 GB, free: 8.641 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.1e-07/0.006089, allocations: 0 / 1.003 GB, free: 8.641 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002207/0.00631, allocations: 4.031 kB / 1.003 GB, free: 8.637 MB / 0.9167 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.0004585/0.006768, allocations: 0.6027 MB / 1.004 GB, free: 8.004 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.081e-05/0.006839, allocations: 11.94 kB / 1.004 GB, free: 7.992 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.006841, allocations: 0 / 1.004 GB, free: 7.992 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.596e-06/0.00685, allocations: 7.984 kB / 1.004 GB, free: 7.984 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/0.007007, allocations: 9.641 kB / 1.004 GB, free: 7.977 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008897/0.007897, allocations: 1.111 MB / 1.005 GB, free: 6.781 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.823e-05/0.007945, allocations: 63.34 kB / 1.005 GB, free: 6.699 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.727e-05/0.007982, allocations: 4 kB / 1.005 GB, free: 6.695 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.008015, allocations: 8.5 kB / 1.005 GB, free: 6.688 MB / 0.9167 GB Notification: Performance of SimCode: time 4.51e-07/0.008015, allocations: 0 / 1.005 GB, free: 6.688 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.02799, allocations: 2.05 MB / 1.007 GB, free: 4.781 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.334/7.362, allocations: 12.86 kB / 1.007 GB, free: 4.77 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --stepSize=483.84 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 11.350636801682413] Failed to read output from testmodel.py, exit status != 0: 7.446328620426357 7.454597152 7.448864125 Calling exit ...