Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001933/0.001933, allocations: 105 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002554/0.002554, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.869/2.869, allocations: 476.7 MB / 0.7611 GB, free: 15.75 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 67.89 kB / 1.104 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.028, allocations: 168.7 MB / 1.269 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.00279/1.031, allocations: 1.374 MB / 1.27 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001702/1.031, allocations: 48.88 kB / 1.27 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.36e-05/1.031, allocations: 1.094 kB / 1.27 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001772/1.031, allocations: 11.67 kB / 1.27 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/1.031, allocations: 14.36 kB / 1.27 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.596e-06/1.031, allocations: 0 / 1.27 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.873e-05/1.031, allocations: 18.75 kB / 1.27 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.749e-05/1.031, allocations: 2.344 kB / 1.27 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.284e-05/1.031, allocations: 14.09 kB / 1.27 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.423e-05/1.031, allocations: 10.36 kB / 1.27 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/1.031, allocations: 0.8438 kB / 1.27 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.192e-05/1.031, allocations: 12.45 kB / 1.27 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.256e-05/1.031, allocations: 10.02 kB / 1.27 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/1.031, allocations: 10.33 kB / 1.27 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/1.032, allocations: 39.09 kB / 1.27 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.032, allocations: 1.312 kB / 1.27 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.284e-06/1.032, allocations: 0 / 1.27 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.858e-06/1.032, allocations: 0 / 1.27 GB, free: 6.684 MB / 0.9981 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.0002819/1.032, allocations: 335.6 kB / 1.271 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/1.032, allocations: 9.438 kB / 1.271 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.48e-05/1.032, allocations: 32.23 kB / 1.271 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/1.032, allocations: 6.531 kB / 1.271 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/1.032, allocations: 184.3 kB / 1.271 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/1.032, allocations: 5.156 kB / 1.271 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/1.032, allocations: 1.312 kB / 1.271 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.67e-05/1.032, allocations: 30.5 kB / 1.271 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/1.032, allocations: 4.812 kB / 1.271 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/1.032, allocations: 0 / 1.271 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/1.032, allocations: 1.234 kB / 1.271 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.361e-05/1.032, allocations: 6.938 kB / 1.271 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001167/1.032, allocations: 157.8 kB / 1.271 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.939e-05/1.032, allocations: 17.45 kB / 1.271 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.564e-05/1.032, allocations: 7.25 kB / 1.271 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/1.032, allocations: 7.984 kB / 1.271 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/1.032, allocations: 32.7 kB / 1.271 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.974e-06/1.032, allocations: 3.984 kB / 1.271 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001262/1.033, allocations: 42.81 kB / 1.271 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/1.033, allocations: 56.25 kB / 1.271 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.793e-05/1.033, allocations: 115.1 kB / 1.271 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.183e-06/1.033, allocations: 30.45 kB / 1.271 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.354e-05/1.033, allocations: 86.78 kB / 1.271 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/1.033, allocations: 8.828 kB / 1.271 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/1.033, allocations: 11.73 kB / 1.271 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.841e-05/1.033, allocations: 317.8 kB / 1.272 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.225e-05/1.033, allocations: 5.125 kB / 1.272 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.416e-06/1.033, allocations: 2.672 kB / 1.272 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.318e-05/1.033, allocations: 9.391 kB / 1.272 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/1.033, allocations: 0 / 1.272 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.925e-05/1.033, allocations: 43.38 kB / 1.272 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/1.033, allocations: 9.25 kB / 1.272 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/1.033, allocations: 0.7031 kB / 1.272 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/1.033, allocations: 0.6875 kB / 1.272 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.258e-05/1.033, allocations: 1.656 kB / 1.272 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/1.033, allocations: 5.453 kB / 1.272 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.344e-05/1.033, allocations: 0 / 1.272 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/1.033, allocations: 1.422 kB / 1.272 GB, free: 5.012 MB / 0.9981 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 4.239e-05/1.033, allocations: 109 kB / 1.272 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/1.033, allocations: 11 kB / 1.272 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.268e-05/1.033, allocations: 50.67 kB / 1.272 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/1.033, allocations: 0 / 1.272 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/1.033, allocations: 1.062 kB / 1.272 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/1.033, allocations: 4.031 kB / 1.272 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.792e-05/1.033, allocations: 155.8 kB / 1.272 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.033, allocations: 0.8125 kB / 1.272 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.378e-05/1.033, allocations: 2.203 kB / 1.272 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/1.033, allocations: 3.938 kB / 1.272 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/1.033, allocations: 1.734 kB / 1.272 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/1.033, allocations: 0 / 1.272 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.033, allocations: 0.9688 kB / 1.272 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.898e-05/1.033, allocations: 62.95 kB / 1.272 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.73e-05/1.033, allocations: 83.88 kB / 1.272 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/1.033, allocations: 8.906 kB / 1.272 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.061e-05/1.033, allocations: 0.5156 kB / 1.272 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/1.033, allocations: 5.422 kB / 1.272 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/1.033, allocations: 0.75 kB / 1.272 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.885e-05/1.033, allocations: 98.72 kB / 1.272 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.033, allocations: 0 / 1.272 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00021/1.034, allocations: 4.562 kB / 1.272 GB, free: 4.375 MB / 0.9981 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.000334/1.034, allocations: 0.6107 MB / 1.273 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.83e-05/1.034, allocations: 9.469 kB / 1.273 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.034, allocations: 0 / 1.273 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.251e-05/1.034, allocations: 11.39 kB / 1.273 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/1.034, allocations: 3.844 kB / 1.273 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008676/1.035, allocations: 1.114 MB / 1.274 GB, free: 18.65 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/1.035, allocations: 0.6777 MB / 1.275 GB, free: 17.95 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.008e-05/1.036, allocations: 12.66 kB / 1.275 GB, free: 17.95 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/1.036, allocations: 9.516 kB / 1.275 GB, free: 17.94 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/1.036, allocations: 0.75 kB / 1.275 GB, free: 17.94 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02775/1.063, allocations: 1.411 MB / 1.276 GB, free: 17.52 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.45/9.514, allocations: 4.656 kB / 1.276 GB, free: 17.52 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --stepSize=483.84 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.692496828734875] Failed to read output from testmodel.py, exit status != 0: 9.582046256400645 9.595112533 8.560728815 Calling exit ...