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.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.001342/0.001342, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001646/0.001646, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.485/1.485, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.782/2.782, allocations: 476.8 MB / 0.7715 GB, free: 3.879 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",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.002066/0.002066, allocations: 63.86 kB / 1.118 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3278, allocations: 170 MB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.00346/0.3313, allocations: 1.392 MB / 1.285 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001941/0.3315, allocations: 39.81 kB / 1.285 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.541e-05/0.3315, allocations: 8 kB / 1.285 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.3317, allocations: 7.938 kB / 1.285 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.3318, allocations: 19.86 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.967e-06/0.3318, allocations: 0 / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.815e-05/0.3319, allocations: 15.94 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.306e-05/0.332, allocations: 3.984 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.737e-05/0.332, allocations: 11.98 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.58e-05/0.332, allocations: 11.88 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.3321, allocations: 0 / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.527e-05/0.3321, allocations: 12 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.3322, allocations: 11.92 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.786e-05/0.3322, allocations: 4 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.3323, allocations: 35.42 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.3323, allocations: 3.984 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3323, allocations: 0 / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3323, allocations: 0 / 1.286 GB, free: 9.07 MB / 0.9825 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.0003879/0.3327, allocations: 262.1 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.3328, allocations: 12.03 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.025e-05/0.3328, allocations: 4.188 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.951e-05/0.3328, allocations: 30.75 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.593e-05/0.3328, allocations: 4.891 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.333, allocations: 114.5 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.333, allocations: 4.375 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.3331, allocations: 384 / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.3332, allocations: 45.94 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3332, allocations: 0 / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-06/0.3332, allocations: 0 / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.3332, allocations: 0 / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.458e-05/0.3332, allocations: 4 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.3334, allocations: 124.8 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.724e-05/0.3334, allocations: 14.64 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.3334, allocations: 8.859 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.3335, allocations: 4 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.3335, allocations: 42.44 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/0.3335, allocations: 4 kB / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001495/0.3336, allocations: 41.62 kB / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.3337, allocations: 55.41 kB / 1.286 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.3338, allocations: 117.8 kB / 1.286 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.3338, allocations: 25.7 kB / 1.286 GB, free: 8 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.3339, allocations: 84.14 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.3339, allocations: 4 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.3339, allocations: 13.83 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3341, allocations: 318.8 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.197e-05/0.3341, allocations: 7.938 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.724e-06/0.3341, allocations: 0 / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.034e-05/0.3341, allocations: 12.8 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3341, allocations: 0 / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.022e-05/0.3342, allocations: 45.64 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.3342, allocations: 11.94 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3342, allocations: 0 / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3342, allocations: 0 / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.124e-05/0.3343, allocations: 4.094 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3343, allocations: 0 / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.328e-05/0.3343, allocations: 0 / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.3343, allocations: 4 kB / 1.287 GB, free: 7.477 MB / 0.9825 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 8.167e-05/0.3344, allocations: 106.9 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.3344, allocations: 7.938 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.766e-05/0.3345, allocations: 49.03 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.3345, allocations: 4 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3345, allocations: 0 / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.3345, allocations: 0 / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.3346, allocations: 128.8 kB / 1.287 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3346, allocations: 4 kB / 1.287 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.644e-05/0.3347, allocations: 0 / 1.287 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.3347, allocations: 7.938 kB / 1.287 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.3347, allocations: 0 / 1.287 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.3347, allocations: 3.984 kB / 1.287 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3347, allocations: 0 / 1.287 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.928e-05/0.3348, allocations: 65.03 kB / 1.287 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.296e-05/0.3348, allocations: 7.938 kB / 1.287 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.3348, allocations: 0 / 1.287 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.246e-05/0.3348, allocations: 8.016 kB / 1.287 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.493e-05/0.3348, allocations: 0 / 1.287 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.3348, allocations: 0 / 1.287 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.015e-05/0.3349, allocations: 95.28 kB / 1.287 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3349, allocations: 0 / 1.287 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002119/0.3351, allocations: 7.984 kB / 1.287 GB, free: 6.914 MB / 0.9825 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.0005114/0.3356, allocations: 0.6134 MB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.375e-05/0.3357, allocations: 7.938 kB / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3357, allocations: 0 / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.061e-05/0.3357, allocations: 4 kB / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.3359, allocations: 6.188 kB / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.337, allocations: 1.106 MB / 1.289 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.214e-05/0.337, allocations: 63.34 kB / 1.289 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.225e-05/0.3371, allocations: 16.08 kB / 1.289 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.3371, allocations: 7.438 kB / 1.289 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.3371, allocations: 0 / 1.289 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/0.365, allocations: 1.566 MB / 1.291 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.15, allocations: 8.312 kB / 1.291 GB, free: 3.555 MB / 0.9825 GB " [Timeout remaining time 288] (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: 18.714037292986177] Failed to read output from testmodel.py, exit status != 0: 12.811787397018634 12.336136896 11.999274306 Calling exit ...