Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002042/0.002042, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001635/0.001635, allocations: 220 kB / 23.03 MB, free: 4.922 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.559/1.559, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.386/3.386, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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.WeeklySchedule,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="cs",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.001976/0.001976, allocations: 67.38 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4682/0.4701, allocations: 176.1 MB / 1.327 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003665/0.4738, allocations: 1.503 MB / 1.328 GB, free: 24 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002253/0.4761, allocations: 1.204 MB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.073e-05/0.4761, allocations: 0 / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.4764, allocations: 27.84 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002508/0.4766, allocations: 39.78 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.4768, allocations: 57.05 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.4771, allocations: 151.6 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.4773, allocations: 33.5 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.4775, allocations: 87.7 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.4777, allocations: 59.7 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.928e-05/0.4778, allocations: 12 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.4779, allocations: 23.98 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.478, allocations: 43.89 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.4781, allocations: 63.64 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003641/0.4785, allocations: 211.2 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4785, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4785, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.4785, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 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.0009341/0.4794, allocations: 426.2 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 7.918e-05/0.4795, allocations: 8.031 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.548e-05/0.4795, allocations: 8.172 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001165/0.4796, allocations: 38.75 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.945e-05/0.4797, allocations: 16.84 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.4801, allocations: 202.8 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002431/0.4804, allocations: 222.2 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.4804, allocations: 12.12 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005016/0.4809, allocations: 272.3 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.4809, allocations: 0 / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.4809, allocations: 0 / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.911e-05/0.481, allocations: 12 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.599e-05/0.4811, allocations: 39.97 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.4823, allocations: 411.5 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.51e-05/0.4824, allocations: 34.56 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.488e-05/0.4824, allocations: 24.84 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.4825, allocations: 0 / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/0.4825, allocations: 42.5 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.4825, allocations: 0 / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0003153/0.4828, allocations: 105.7 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.4829, allocations: 55.34 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.4832, allocations: 215.8 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.4832, allocations: 33.7 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.4833, allocations: 124.1 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.4833, allocations: 27.81 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.83e-05/0.4834, allocations: 29.7 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002031/0.4836, allocations: 322.8 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.291e-05/0.4837, allocations: 35.91 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.4838, allocations: 106.1 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.484, allocations: 138.2 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.484, allocations: 0 / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000281/0.4843, allocations: 157.5 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.4843, allocations: 9.859 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.4843, allocations: 4 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.4843, allocations: 4 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.4845, allocations: 27.88 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.4845, allocations: 3.984 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.607e-05/0.4845, allocations: 19.89 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.4845, allocations: 8 kB / 1.333 GB, free: 10.55 MB / 1.029 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.0001695/0.4847, allocations: 145.8 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/0.4848, allocations: 20.03 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.485, allocations: 115 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.485, allocations: 3.938 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.485, allocations: 3.938 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.485, allocations: 3.984 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.4853, allocations: 180.7 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.4853, allocations: 0 / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.106e-05/0.4854, allocations: 12 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4854, allocations: 0 / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.4854, allocations: 11.94 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.4854, allocations: 7.922 kB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4854, allocations: 4 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.4857, allocations: 183.4 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.583e-05/0.4857, allocations: 11.91 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.4857, allocations: 4 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.486, allocations: 19.92 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.486, allocations: 7.922 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.486, allocations: 15.92 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001814/0.4862, allocations: 161.5 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4862, allocations: 0 / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003123/0.4865, allocations: 39.92 kB / 1.334 GB, free: 9.535 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 (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.0008561/0.4874, allocations: 0.7425 MB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002188/0.4876, allocations: 76.31 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.4876, allocations: 4.25 kB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.878e-05/0.4876, allocations: 31.91 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.488, allocations: 21.83 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.4904, allocations: 1.913 MB / 1.337 GB, free: 6.574 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.4906, allocations: 122.1 kB / 1.337 GB, free: 6.434 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001377/0.4907, allocations: 56.91 kB / 1.337 GB, free: 6.379 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.242e-05/0.4908, allocations: 47.42 kB / 1.337 GB, free: 6.332 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.4908, allocations: 4 kB / 1.337 GB, free: 6.328 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03116/0.5219, allocations: 4.566 MB / 1.341 GB, free: 1.961 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.61, allocations: 12 kB / 1.341 GB, free: 1.949 MB / 1.029 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.757715466083027] Failed to read output from testmodel.py, exit status != 0: 12.778725676005706 12.795291728 12.313627478999999 Calling exit ...