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.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.001761/0.001761, allocations: 102.7 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.00141/0.00141, allocations: 188.6 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.532/1.532, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.935/2.935, allocations: 497.2 MB / 0.7812 GB, free: 12.17 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 67.88 kB / 1.134 GB, free: 13.24 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06/1.062, allocations: 173.9 MB / 1.304 GB, free: 32.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002342/1.065, allocations: 1.378 MB / 1.305 GB, free: 31.19 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001359/1.065, allocations: 43.69 kB / 1.305 GB, free: 31.16 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.739e-05/1.065, allocations: 0 / 1.305 GB, free: 31.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001443/1.065, allocations: 14.03 kB / 1.305 GB, free: 31.15 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.847e-05/1.065, allocations: 17.69 kB / 1.305 GB, free: 31.14 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.146e-06/1.065, allocations: 4 kB / 1.305 GB, free: 31.13 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.287e-05/1.065, allocations: 16.72 kB / 1.305 GB, free: 31.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/1.065, allocations: 2.344 kB / 1.305 GB, free: 31.12 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.02e-05/1.065, allocations: 17.98 kB / 1.305 GB, free: 31.11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.287e-05/1.065, allocations: 6.438 kB / 1.305 GB, free: 31.11 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/1.065, allocations: 2.812 kB / 1.305 GB, free: 31.11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.181e-05/1.065, allocations: 11.5 kB / 1.305 GB, free: 31.11 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.521e-05/1.065, allocations: 7.312 kB / 1.305 GB, free: 31.1 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.862e-05/1.065, allocations: 10.91 kB / 1.305 GB, free: 31.09 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.341e-05/1.065, allocations: 35.58 kB / 1.305 GB, free: 31.08 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/1.065, allocations: 4 kB / 1.305 GB, free: 31.07 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/1.065, allocations: 0 / 1.305 GB, free: 31.07 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.659e-06/1.065, allocations: 0 / 1.305 GB, free: 31.07 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002625/1.066, allocations: 334.5 kB / 1.306 GB, free: 30.71 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/1.066, allocations: 11.28 kB / 1.306 GB, free: 30.71 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.631e-05/1.066, allocations: 30.75 kB / 1.306 GB, free: 30.67 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.252e-05/1.066, allocations: 4.891 kB / 1.306 GB, free: 30.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/1.066, allocations: 172.8 kB / 1.306 GB, free: 30.47 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/1.066, allocations: 384 / 1.306 GB, free: 30.47 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-06/1.066, allocations: 384 / 1.306 GB, free: 30.47 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.48e-05/1.066, allocations: 36.95 kB / 1.306 GB, free: 30.43 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/1.066, allocations: 3.938 kB / 1.306 GB, free: 30.43 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/1.066, allocations: 6.812 kB / 1.306 GB, free: 30.42 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/1.066, allocations: 3.938 kB / 1.306 GB, free: 30.42 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.911e-05/1.066, allocations: 3 kB / 1.306 GB, free: 30.42 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001193/1.066, allocations: 155.1 kB / 1.306 GB, free: 30.23 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.367e-05/1.066, allocations: 17.08 kB / 1.306 GB, free: 30.2 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.409e-05/1.066, allocations: 11.39 kB / 1.306 GB, free: 30.19 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/1.066, allocations: 0 / 1.306 GB, free: 30.19 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/1.066, allocations: 34.56 kB / 1.306 GB, free: 30.15 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/1.066, allocations: 0 / 1.306 GB, free: 30.15 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001165/1.066, allocations: 49.59 kB / 1.306 GB, free: 30.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/1.066, allocations: 51.41 kB / 1.306 GB, free: 30.04 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.374e-05/1.067, allocations: 118.5 kB / 1.306 GB, free: 29.93 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/1.067, allocations: 29.83 kB / 1.307 GB, free: 29.9 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.179e-05/1.067, allocations: 86.86 kB / 1.307 GB, free: 29.81 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/1.067, allocations: 3.938 kB / 1.307 GB, free: 29.81 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/1.067, allocations: 12.62 kB / 1.307 GB, free: 29.79 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.255e-05/1.067, allocations: 318.3 kB / 1.307 GB, free: 29.48 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.157e-05/1.067, allocations: 2.875 kB / 1.307 GB, free: 29.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.901e-06/1.067, allocations: 0 / 1.307 GB, free: 29.48 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.072e-05/1.067, allocations: 14.33 kB / 1.307 GB, free: 29.46 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.067, allocations: 4 kB / 1.307 GB, free: 29.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.802e-05/1.067, allocations: 42.67 kB / 1.307 GB, free: 29.42 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/1.067, allocations: 13.28 kB / 1.307 GB, free: 29.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/1.067, allocations: 2.75 kB / 1.307 GB, free: 29.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/1.067, allocations: 0 / 1.307 GB, free: 29.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.26e-05/1.067, allocations: 0 / 1.307 GB, free: 29.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/1.067, allocations: 2.844 kB / 1.307 GB, free: 29.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.27e-05/1.067, allocations: 0 / 1.307 GB, free: 29.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-06/1.067, allocations: 0 / 1.307 GB, free: 29.41 MB / 1.061 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.395e-05/1.067, allocations: 116.1 kB / 1.307 GB, free: 29.3 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-06/1.067, allocations: 3.938 kB / 1.307 GB, free: 29.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.451e-05/1.067, allocations: 48.33 kB / 1.307 GB, free: 29.25 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/1.067, allocations: 0 / 1.307 GB, free: 29.25 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/1.067, allocations: 0 / 1.307 GB, free: 29.25 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.067, allocations: 4 kB / 1.307 GB, free: 29.25 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.525e-05/1.067, allocations: 154.5 kB / 1.307 GB, free: 29.05 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/1.067, allocations: 0 / 1.307 GB, free: 29.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.199e-05/1.067, allocations: 6.469 kB / 1.307 GB, free: 29.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/1.067, allocations: 11.3 kB / 1.307 GB, free: 29.04 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/1.067, allocations: 0 / 1.307 GB, free: 29.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.067, allocations: 2.75 kB / 1.307 GB, free: 29.04 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/1.067, allocations: 0 / 1.307 GB, free: 29.04 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.405e-05/1.067, allocations: 65.19 kB / 1.307 GB, free: 28.97 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.377e-05/1.067, allocations: 80.39 kB / 1.307 GB, free: 28.88 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/1.067, allocations: 3.938 kB / 1.307 GB, free: 28.87 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.377e-06/1.067, allocations: 0 / 1.307 GB, free: 28.87 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-06/1.067, allocations: 10.83 kB / 1.307 GB, free: 28.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/1.067, allocations: 0 / 1.307 GB, free: 28.86 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.653e-05/1.067, allocations: 95.91 kB / 1.308 GB, free: 28.78 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.067, allocations: 0 / 1.308 GB, free: 28.78 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001879/1.067, allocations: 2.562 kB / 1.308 GB, free: 28.78 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 (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.0003144/1.068, allocations: 0.6089 MB / 1.308 GB, free: 28.18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.196e-05/1.068, allocations: 8.781 kB / 1.308 GB, free: 28.18 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/1.068, allocations: 0 / 1.308 GB, free: 28.18 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.388e-06/1.068, allocations: 6.875 kB / 1.308 GB, free: 28.18 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/1.068, allocations: 9.078 kB / 1.308 GB, free: 28.17 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000651/1.069, allocations: 1.121 MB / 1.309 GB, free: 27.05 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/1.069, allocations: 0.6779 MB / 1.31 GB, free: 26.36 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.45e-05/1.069, allocations: 9.812 kB / 1.31 GB, free: 26.35 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/1.069, allocations: 7.438 kB / 1.31 GB, free: 26.34 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/1.069, allocations: 2.844 kB / 1.31 GB, free: 26.34 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02566/1.094, allocations: 1.397 MB / 1.311 GB, free: 25.95 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.493/9.588, allocations: 12.03 kB / 1.311 GB, free: 25.95 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.01734942011535] Failed to read output from testmodel.py, exit status != 0: 9.653704482596368 9.664608451 8.596135304 Calling exit ...