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.001311/0.001311, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001508/0.001508, allocations: 214.1 kB / 22.25 MB, free: 5.082 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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 3.582/3.582, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002078/0.002078, allocations: 69 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3902, allocations: 180.2 MB / 1.353 GB, free: 8.504 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.00269/0.3929, allocations: 1.406 MB / 1.354 GB, free: 7.09 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001682/0.3931, allocations: 51.75 kB / 1.354 GB, free: 7.039 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.975e-05/0.3931, allocations: 0 / 1.354 GB, free: 7.039 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001532/0.3933, allocations: 3.938 kB / 1.354 GB, free: 7.035 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.3934, allocations: 19.91 kB / 1.354 GB, free: 7.016 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.998e-06/0.3934, allocations: 4 kB / 1.354 GB, free: 7.012 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.429e-05/0.3935, allocations: 15.94 kB / 1.354 GB, free: 6.996 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.3935, allocations: 4 kB / 1.354 GB, free: 6.992 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.054e-05/0.3936, allocations: 11.92 kB / 1.354 GB, free: 6.98 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.661e-05/0.3936, allocations: 4 kB / 1.354 GB, free: 6.977 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.3936, allocations: 4 kB / 1.354 GB, free: 6.973 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.931e-05/0.3937, allocations: 12 kB / 1.354 GB, free: 6.961 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.3937, allocations: 15.91 kB / 1.354 GB, free: 6.945 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/0.3937, allocations: 7.938 kB / 1.354 GB, free: 6.938 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.3938, allocations: 32.12 kB / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3939, allocations: 0 / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3939, allocations: 4 kB / 1.354 GB, free: 6.902 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.3939, allocations: 0 / 1.354 GB, free: 6.902 MB / 1.045 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.0003321/0.3942, allocations: 262.2 kB / 1.355 GB, free: 6.613 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.3942, allocations: 12.03 kB / 1.355 GB, free: 6.602 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.464e-05/0.3943, allocations: 34.69 kB / 1.355 GB, free: 6.559 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.209e-05/0.3943, allocations: 0.9375 kB / 1.355 GB, free: 6.559 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.3945, allocations: 118.5 kB / 1.355 GB, free: 6.418 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.3945, allocations: 12.31 kB / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.3945, allocations: 384 / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.832e-05/0.3946, allocations: 34.25 kB / 1.355 GB, free: 6.367 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3946, allocations: 7.938 kB / 1.355 GB, free: 6.359 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.3946, allocations: 0 / 1.355 GB, free: 6.359 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.3946, allocations: 0 / 1.355 GB, free: 6.359 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.903e-05/0.3946, allocations: 0 / 1.355 GB, free: 6.359 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.3948, allocations: 128.8 kB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.709e-05/0.3948, allocations: 22.45 kB / 1.355 GB, free: 6.16 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.142e-05/0.3948, allocations: 16.91 kB / 1.355 GB, free: 6.141 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.3948, allocations: 4 kB / 1.355 GB, free: 6.137 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.3949, allocations: 30.56 kB / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.3949, allocations: 0 / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001323/0.395, allocations: 41.58 kB / 1.355 GB, free: 6.051 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.395, allocations: 51.41 kB / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.3952, allocations: 113.8 kB / 1.355 GB, free: 5.867 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.3952, allocations: 25.7 kB / 1.355 GB, free: 5.836 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.931e-05/0.3952, allocations: 96.25 kB / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.3952, allocations: 3.953 kB / 1.355 GB, free: 5.734 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.3953, allocations: 9.719 kB / 1.355 GB, free: 5.719 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3954, allocations: 318.8 kB / 1.356 GB, free: 5.398 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.073e-05/0.3954, allocations: 0 / 1.356 GB, free: 5.398 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.702e-06/0.3954, allocations: 0 / 1.356 GB, free: 5.398 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.345e-05/0.3955, allocations: 12.84 kB / 1.356 GB, free: 5.383 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3955, allocations: 4.062 kB / 1.356 GB, free: 5.379 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.171e-05/0.3955, allocations: 41.64 kB / 1.356 GB, free: 5.332 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3955, allocations: 11.94 kB / 1.356 GB, free: 5.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.3955, allocations: 0 / 1.356 GB, free: 5.32 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.3955, allocations: 0 / 1.356 GB, free: 5.32 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.803e-05/0.3956, allocations: 4 kB / 1.356 GB, free: 5.316 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.3956, allocations: 0 / 1.356 GB, free: 5.316 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.58e-05/0.3956, allocations: 4 kB / 1.356 GB, free: 5.312 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.3956, allocations: 0 / 1.356 GB, free: 5.312 MB / 1.045 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.685e-05/0.3957, allocations: 121.7 kB / 1.356 GB, free: 5.184 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.3957, allocations: 11.89 kB / 1.356 GB, free: 5.172 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.751e-05/0.3958, allocations: 37.17 kB / 1.356 GB, free: 5.125 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3958, allocations: 7.984 kB / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.3958, allocations: 3.938 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3958, allocations: 0 / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.3959, allocations: 124.8 kB / 1.356 GB, free: 4.949 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3959, allocations: 3.938 kB / 1.356 GB, free: 4.945 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.311e-05/0.3959, allocations: 0 / 1.356 GB, free: 4.945 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3959, allocations: 7.938 kB / 1.356 GB, free: 4.938 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.396, allocations: 4.031 kB / 1.356 GB, free: 4.934 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.396, allocations: 3.938 kB / 1.356 GB, free: 4.93 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.396, allocations: 0 / 1.356 GB, free: 4.93 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.097e-05/0.396, allocations: 61.12 kB / 1.356 GB, free: 4.852 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.396, allocations: 0 / 1.356 GB, free: 4.852 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.3961, allocations: 7.938 kB / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.928e-06/0.3961, allocations: 0 / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.296e-05/0.3961, allocations: 4.031 kB / 1.356 GB, free: 4.84 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.3961, allocations: 0 / 1.356 GB, free: 4.84 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.87e-05/0.3962, allocations: 95.58 kB / 1.356 GB, free: 4.746 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3962, allocations: 0 / 1.356 GB, free: 4.746 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001886/0.3963, allocations: 4 kB / 1.356 GB, free: 4.742 MB / 1.045 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.0004847/0.3968, allocations: 0.6266 MB / 1.357 GB, free: 4.09 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.281e-05/0.3969, allocations: 11.98 kB / 1.357 GB, free: 4.078 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.3969, allocations: 0 / 1.357 GB, free: 4.078 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.074e-05/0.3969, allocations: 4 kB / 1.357 GB, free: 4.074 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.3971, allocations: 1.875 kB / 1.357 GB, free: 4.074 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.3981, allocations: 1.106 MB / 1.358 GB, free: 2.887 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.3985, allocations: 0.6808 MB / 1.359 GB, free: 2.18 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 8.923e-05/0.3986, allocations: 0 / 1.359 GB, free: 2.18 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.294e-05/0.3986, allocations: 19.41 kB / 1.359 GB, free: 2.16 MB / 1.045 GB Notification: Performance of SimCode: time 3.1e-07/0.3986, allocations: 0 / 1.359 GB, free: 2.16 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/0.427, allocations: 1.493 MB / 1.36 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.92, allocations: 5.328 kB / 1.36 GB, free: 0.8008 MB / 1.045 GB " [Timeout remaining time 288] (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: 19.012197121977806] Failed to read output from testmodel.py, exit status != 0: 12.029841237002984 12.054980729 11.656504941 Calling exit ...