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.001361/0.001361, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001727/0.001727, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.583/1.583, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.115/3.115, allocations: 0.49 GB / 0.7923 GB, free: 1.441 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.002314/0.002314, allocations: 70.22 kB / 1.149 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021/1.023, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002569/1.025, allocations: 1.513 MB / 1.323 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001308/1.027, allocations: 1.15 MB / 1.324 GB, free: 22.88 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.092e-05/1.027, allocations: 2.656 kB / 1.324 GB, free: 22.88 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002012/1.027, allocations: 28.8 kB / 1.324 GB, free: 22.86 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001765/1.027, allocations: 38.44 kB / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/1.027, allocations: 68.02 kB / 1.324 GB, free: 22.8 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001865/1.028, allocations: 147.9 kB / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/1.028, allocations: 43.22 kB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.518e-05/1.028, allocations: 83.45 kB / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/1.028, allocations: 58.84 kB / 1.325 GB, free: 22.67 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/1.028, allocations: 11.25 kB / 1.325 GB, free: 22.67 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.224e-05/1.028, allocations: 24.12 kB / 1.325 GB, free: 22.67 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.309e-05/1.028, allocations: 53.58 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.884e-05/1.028, allocations: 75.83 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002112/1.028, allocations: 204.2 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.028, allocations: 0 / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.653e-06/1.028, allocations: 3.938 kB / 1.325 GB, free: 22.51 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.291e-06/1.028, allocations: 0 / 1.325 GB, free: 22.51 MB / 1.061 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.0006504/1.029, allocations: 0.492 MB / 1.325 GB, free: 22.07 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/1.029, allocations: 12.39 kB / 1.325 GB, free: 22.07 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.131e-05/1.029, allocations: 2.969 kB / 1.325 GB, free: 22.07 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.786e-05/1.029, allocations: 40.78 kB / 1.325 GB, free: 22.03 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.411e-05/1.029, allocations: 17.16 kB / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/1.03, allocations: 259.6 kB / 1.326 GB, free: 21.79 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/1.03, allocations: 114.5 kB / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/1.03, allocations: 17.91 kB / 1.326 GB, free: 21.65 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/1.03, allocations: 154.5 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/1.03, allocations: 0 / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/1.03, allocations: 2.969 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/1.03, allocations: 9.391 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.44e-05/1.03, allocations: 44.98 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009615/1.031, allocations: 468 kB / 1.326 GB, free: 21.24 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.452e-05/1.031, allocations: 33.7 kB / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/1.031, allocations: 20.72 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/1.031, allocations: 3.125 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/1.031, allocations: 45.5 kB / 1.327 GB, free: 21.15 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/1.031, allocations: 0 / 1.327 GB, free: 21.15 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0002527/1.031, allocations: 107.8 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/1.031, allocations: 55.34 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/1.032, allocations: 214.9 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/1.032, allocations: 32.64 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/1.032, allocations: 121.5 kB / 1.327 GB, free: 20.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/1.032, allocations: 28.56 kB / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/1.032, allocations: 40.16 kB / 1.327 GB, free: 20.68 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.361e-05/1.032, allocations: 321.1 kB / 1.327 GB, free: 20.37 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.935e-05/1.032, allocations: 28.73 kB / 1.327 GB, free: 20.36 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.273e-05/1.032, allocations: 102.1 kB / 1.328 GB, free: 20.25 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/1.032, allocations: 139.4 kB / 1.328 GB, free: 20.12 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/1.032, allocations: 0.625 kB / 1.328 GB, free: 20.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002497/1.032, allocations: 156.2 kB / 1.328 GB, free: 20.04 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/1.032, allocations: 5.75 kB / 1.328 GB, free: 20.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.032, allocations: 2.438 kB / 1.328 GB, free: 20.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/1.032, allocations: 7.125 kB / 1.328 GB, free: 20.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/1.033, allocations: 27.25 kB / 1.328 GB, free: 20.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/1.033, allocations: 10.12 kB / 1.328 GB, free: 20.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.349e-05/1.033, allocations: 13.3 kB / 1.328 GB, free: 20.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/1.033, allocations: 5.656 kB / 1.328 GB, free: 20.02 MB / 1.061 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.0001257/1.033, allocations: 153.5 kB / 1.328 GB, free: 19.89 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.775e-05/1.033, allocations: 15.09 kB / 1.328 GB, free: 19.88 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/1.033, allocations: 115.4 kB / 1.328 GB, free: 19.81 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/1.033, allocations: 5.062 kB / 1.328 GB, free: 19.81 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.033, allocations: 0.5 kB / 1.328 GB, free: 19.81 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/1.033, allocations: 0.6875 kB / 1.328 GB, free: 19.81 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/1.033, allocations: 230 kB / 1.328 GB, free: 19.6 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.033, allocations: 4 kB / 1.328 GB, free: 19.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.53e-05/1.033, allocations: 15.91 kB / 1.328 GB, free: 19.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/1.033, allocations: 4.656 kB / 1.328 GB, free: 19.59 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/1.033, allocations: 4.531 kB / 1.328 GB, free: 19.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.033, allocations: 5.031 kB / 1.328 GB, free: 19.58 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/1.033, allocations: 0 / 1.328 GB, free: 19.58 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/1.034, allocations: 187.4 kB / 1.329 GB, free: 19.43 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.072e-05/1.034, allocations: 89.17 kB / 1.329 GB, free: 19.32 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/1.034, allocations: 8.047 kB / 1.329 GB, free: 19.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/1.034, allocations: 30.95 kB / 1.329 GB, free: 19.31 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.826e-05/1.034, allocations: 2.969 kB / 1.329 GB, free: 19.31 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/1.034, allocations: 8.797 kB / 1.329 GB, free: 19.31 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001371/1.034, allocations: 169.4 kB / 1.329 GB, free: 19.2 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.034, allocations: 0 / 1.329 GB, free: 19.2 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003197/1.034, allocations: 27.44 kB / 1.329 GB, free: 19.2 MB / 1.061 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.0005231/1.035, allocations: 0.757 MB / 1.33 GB, free: 18.5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001877/1.035, allocations: 73.78 kB / 1.33 GB, free: 18.48 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.035, allocations: 4.25 kB / 1.33 GB, free: 18.47 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.671e-05/1.035, allocations: 27.09 kB / 1.33 GB, free: 18.46 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/1.035, allocations: 20.92 kB / 1.33 GB, free: 18.45 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/1.037, allocations: 1.921 MB / 1.332 GB, free: 16.89 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/1.037, allocations: 0.7319 MB / 1.332 GB, free: 16.19 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001293/1.038, allocations: 57.86 kB / 1.332 GB, free: 16.17 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.828e-05/1.038, allocations: 51.05 kB / 1.332 GB, free: 16.14 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/1.038, allocations: 0 / 1.332 GB, free: 16.14 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/1.063, allocations: 4.271 MB / 1.337 GB, free: 15.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.067/10.13, allocations: 9.453 kB / 1.337 GB, free: 15.52 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.969291580026038] Failed to read output from testmodel.py, exit status != 0: 10.26306884601945 10.278024418 9.246688044 Calling exit ...