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.001019/0.001019, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008574/0.0008574, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9032/0.9032, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.711/1.711, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="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 1.864e-06/1.864e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.384e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002067/0.002091, allocations: 1.384 MB / 0.9518 GB, free: 2.113 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001233/0.002215, allocations: 51.75 kB / 0.9519 GB, free: 2.062 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.748e-05/0.002252, allocations: 0 / 0.9519 GB, free: 2.062 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.002413, allocations: 7.922 kB / 0.9519 GB, free: 2.055 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.002532, allocations: 19.92 kB / 0.9519 GB, free: 2.035 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.008e-06/0.002536, allocations: 0 / 0.9519 GB, free: 2.035 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.422e-05/0.00261, allocations: 19.88 kB / 0.9519 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.002655, allocations: 0 / 0.9519 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.669e-05/0.002701, allocations: 11.98 kB / 0.9519 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.442e-05/0.002756, allocations: 11.92 kB / 0.9519 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.002779, allocations: 4 kB / 0.9519 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.966e-05/0.002828, allocations: 11.94 kB / 0.952 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.51e-05/0.002884, allocations: 7.984 kB / 0.952 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.959e-05/0.002903, allocations: 0 / 0.952 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.003021, allocations: 31.84 kB / 0.952 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.003023, allocations: 4 kB / 0.952 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.413e-06/0.003024, allocations: 0 / 0.952 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.00303, allocations: 11.88 kB / 0.952 GB, free: 1.922 MB / 0.9011 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.0002989/0.003329, allocations: 258.2 kB / 0.9523 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.003369, allocations: 8.031 kB / 0.9523 GB, free: 1.629 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.79e-05/0.003397, allocations: 30.75 kB / 0.9523 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.088e-05/0.003418, allocations: 4.938 kB / 0.9523 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.003553, allocations: 121.7 kB / 0.9524 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.246e-06/0.003561, allocations: 384 / 0.9524 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.311e-06/0.003567, allocations: 384 / 0.9524 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.534e-05/0.003643, allocations: 34.27 kB / 0.9524 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.003649, allocations: 192 / 0.9524 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.003657, allocations: 384 / 0.9524 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.003678, allocations: 8.109 kB / 0.9525 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.893e-05/0.003697, allocations: 4 kB / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/0.003818, allocations: 124.7 kB / 0.9526 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.991e-05/0.003858, allocations: 34.53 kB / 0.9526 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.536e-05/0.003873, allocations: 4.859 kB / 0.9526 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.003892, allocations: 0 / 0.9526 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.00391, allocations: 34.62 kB / 0.9527 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 5.11e-07/0.003911, allocations: 0 / 0.9527 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001219/0.004032, allocations: 41.64 kB / 0.9527 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.004062, allocations: 59.34 kB / 0.9527 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.065e-05/0.004143, allocations: 109.8 kB / 0.9529 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.004151, allocations: 25.7 kB / 0.9529 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.903e-05/0.00418, allocations: 92.12 kB / 0.953 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.004199, allocations: 3.953 kB / 0.953 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-05/0.004222, allocations: 9.719 kB / 0.953 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.004422, allocations: 318.8 kB / 0.9533 GB, free: 444 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.005e-05/0.004432, allocations: 0 / 0.9533 GB, free: 444 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-06/0.004439, allocations: 4.125 kB / 0.9533 GB, free: 440 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.353e-05/0.004463, allocations: 20.91 kB / 0.9533 GB, free: 416 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.004465, allocations: 4 kB / 0.9533 GB, free: 412 kB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.961e-05/0.004505, allocations: 33.64 kB / 0.9533 GB, free: 372 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.00452, allocations: 10.66 kB / 0.9534 GB, free: 364 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.004524, allocations: 0 / 0.9534 GB, free: 364 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.004534, allocations: 0 / 0.9534 GB, free: 364 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.591e-05/0.00458, allocations: 3.938 kB / 0.9534 GB, free: 360 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.004585, allocations: 4 kB / 0.9534 GB, free: 356 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.167e-05/0.004597, allocations: 3.938 kB / 0.9534 GB, free: 352 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.004602, allocations: 8.328 kB / 0.9534 GB, free: 344 kB / 0.9011 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.976e-05/0.004651, allocations: 109.8 kB / 0.9535 GB, free: 224 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-06/0.004657, allocations: 7.953 kB / 0.9535 GB, free: 216 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.39e-05/0.004731, allocations: 45.09 kB / 0.9535 GB, free: 160 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.004733, allocations: 0 / 0.9535 GB, free: 160 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.004738, allocations: 7.922 kB / 0.9535 GB, free: 152 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.00474, allocations: 0 / 0.9535 GB, free: 152 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.568e-05/0.004816, allocations: 124.8 kB / 0.9537 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.004817, allocations: 3.938 kB / 0.9537 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.024e-05/0.004827, allocations: 4 kB / 0.9537 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.004828, allocations: 4.031 kB / 0.9537 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.004834, allocations: 0 / 0.9537 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.004834, allocations: 3.938 kB / 0.9537 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.004836, allocations: 3.938 kB / 0.9537 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.765e-05/0.004884, allocations: 61.12 kB / 0.9537 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.288e-06/0.004893, allocations: 7.953 kB / 0.9537 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.105e-06/0.004901, allocations: 0 / 0.9537 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.42e-06/0.004907, allocations: 0 / 0.9537 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.082e-05/0.004918, allocations: 3.938 kB / 0.9537 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.00492, allocations: 4 kB / 0.9537 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.025e-05/0.00496, allocations: 103.3 kB / 0.9538 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.00496, allocations: 0 / 0.9538 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001298/0.00509, allocations: 4 kB / 0.9538 GB, free: 15.77 MB / 0.9167 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.0002924/0.005383, allocations: 0.6068 MB / 0.9544 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.683e-05/0.005439, allocations: 4 kB / 0.9544 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.005442, allocations: 8.094 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.65e-06/0.005448, allocations: 3.984 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001054/0.005553, allocations: 11.94 kB / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007209/0.006274, allocations: 1.106 MB / 0.9555 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.629e-05/0.00632, allocations: 63.34 kB / 0.9556 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 7.193e-05/0.006392, allocations: 7.938 kB / 0.9556 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.006427, allocations: 8.5 kB / 0.9556 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of SimCode: time 8.42e-07/0.006428, allocations: 0 / 0.9556 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/0.02238, allocations: 2.053 MB / 0.9576 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.989/7.012, allocations: 0 / 0.9576 GB, free: 11.91 MB / 0.9167 GB " [Timeout remaining time 293] (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: 10.963615706190467] Failed to read output from testmodel.py, exit status != 0: 7.09714534226805 7.112843274 7.107281719 Calling exit ...