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.001354/0.001354, allocations: 109.2 kB / 16.4 MB, free: 6.504 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.001452/0.001452, allocations: 192.5 kB / 19.35 MB, free: 3.734 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.399/1.399, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.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 3.249/3.249, allocations: 489 MB / 0.7678 GB, free: 29.15 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.001939/0.001939, allocations: 63.91 kB / 1.101 GB, free: 5.871 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9017/0.9037, allocations: 163.8 MB / 1.261 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002877/0.9066, allocations: 1.366 MB / 1.262 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001767/0.9068, allocations: 51.75 kB / 1.262 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.282e-05/0.9069, allocations: 0 / 1.262 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.9071, allocations: 7.938 kB / 1.262 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.9072, allocations: 27.84 kB / 1.262 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.058e-06/0.9072, allocations: 0 / 1.262 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.217e-05/0.9073, allocations: 15.94 kB / 1.262 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.458e-05/0.9073, allocations: 3.984 kB / 1.262 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.429e-05/0.9074, allocations: 4 kB / 1.262 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.023e-05/0.9075, allocations: 11.94 kB / 1.262 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.9075, allocations: 4 kB / 1.262 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.544e-05/0.9075, allocations: 8 kB / 1.262 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.283e-05/0.9076, allocations: 11.92 kB / 1.262 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.9076, allocations: 11.92 kB / 1.263 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.9078, allocations: 27.91 kB / 1.263 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.989e-06/0.9078, allocations: 4 kB / 1.263 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.394e-06/0.9078, allocations: 3.938 kB / 1.263 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.9078, allocations: 0 / 1.263 GB, free: 5.574 MB / 0.9669 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.000478/0.9083, allocations: 334.2 kB / 1.263 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.9083, allocations: 8.031 kB / 1.263 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.034e-05/0.9084, allocations: 34.75 kB / 1.263 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.9084, allocations: 4.938 kB / 1.263 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.9087, allocations: 180.3 kB / 1.263 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.72e-06/0.9087, allocations: 384 / 1.263 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.9087, allocations: 384 / 1.263 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.52e-05/0.9088, allocations: 30.27 kB / 1.263 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.9088, allocations: 3.938 kB / 1.263 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.9088, allocations: 0 / 1.263 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.9089, allocations: 0 / 1.263 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.035e-05/0.9089, allocations: 19.92 kB / 1.263 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.9091, allocations: 153.7 kB / 1.263 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.202e-05/0.9091, allocations: 18.56 kB / 1.263 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.932e-05/0.9092, allocations: 8.922 kB / 1.263 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.9092, allocations: 0 / 1.263 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.9092, allocations: 30.56 kB / 1.263 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.9092, allocations: 0 / 1.263 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001368/0.9094, allocations: 49.58 kB / 1.263 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.9094, allocations: 55.39 kB / 1.263 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.9096, allocations: 117.8 kB / 1.264 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.9096, allocations: 25.7 kB / 1.264 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.001e-05/0.9096, allocations: 88.14 kB / 1.264 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.9097, allocations: 7.891 kB / 1.264 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.9097, allocations: 13.66 kB / 1.264 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.9099, allocations: 319 kB / 1.264 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.9099, allocations: 3.984 kB / 1.264 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.93e-05/0.9099, allocations: 8 kB / 1.264 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.564e-05/0.9099, allocations: 8.859 kB / 1.264 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9099, allocations: 0 / 1.264 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.656e-05/0.91, allocations: 37.64 kB / 1.264 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.91, allocations: 11.94 kB / 1.264 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.91, allocations: 0 / 1.264 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.9101, allocations: 96 / 1.264 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.243e-05/0.9101, allocations: 11.98 kB / 1.264 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.9101, allocations: 4 kB / 1.264 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.362e-05/0.9101, allocations: 0 / 1.264 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.9102, allocations: 0 / 1.264 GB, free: 3.785 MB / 0.9669 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 7.755e-05/0.9102, allocations: 105.8 kB / 1.264 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.9103, allocations: 11.89 kB / 1.264 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.9104, allocations: 49.16 kB / 1.264 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.9104, allocations: 0 / 1.264 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.9104, allocations: 4.031 kB / 1.264 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.9104, allocations: 0 / 1.264 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.9105, allocations: 153.7 kB / 1.264 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.9105, allocations: 0 / 1.264 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.138e-05/0.9106, allocations: 0 / 1.264 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.9106, allocations: 7.938 kB / 1.264 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.9106, allocations: 0 / 1.264 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.9106, allocations: 3.984 kB / 1.264 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.9106, allocations: 0 / 1.264 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.11e-05/0.9107, allocations: 61.14 kB / 1.264 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.9107, allocations: 77.11 kB / 1.265 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.9108, allocations: 7.922 kB / 1.265 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.238e-05/0.9108, allocations: 4 kB / 1.265 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.9108, allocations: 0 / 1.265 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.9108, allocations: 3.938 kB / 1.265 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.717e-05/0.9109, allocations: 95.52 kB / 1.265 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9109, allocations: 0 / 1.265 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002161/0.9111, allocations: 15.94 kB / 1.265 GB, free: 3.09 MB / 0.9669 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.0005311/0.9116, allocations: 0.6136 MB / 1.265 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.726e-05/0.9117, allocations: 12.03 kB / 1.265 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.9117, allocations: 0 / 1.265 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.849e-05/0.9118, allocations: 3.938 kB / 1.265 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.9119, allocations: 8 kB / 1.265 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.913, allocations: 1.11 MB / 1.266 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.9134, allocations: 0.6768 MB / 1.267 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.631e-05/0.9135, allocations: 7.984 kB / 1.267 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.9135, allocations: 11.44 kB / 1.267 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.9135, allocations: 4.031 kB / 1.267 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.9348, allocations: 1.399 MB / 1.268 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.059/8.994, allocations: 5.938 kB / 1.268 GB, free: 15.22 MB / 0.9825 GB " [Timeout remaining time 291] (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: 15.091361891943961] Failed to read output from testmodel.py, exit status != 0: 9.061559499008581 9.083593957 8.171909204 Calling exit ...