Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.0007681/0.0007681, 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.0007805/0.0007805, allocations: 169.9 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.864/0.864, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.756/1.756, allocations: 389 MB / 0.633 GB, free: 12.73 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.548e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.001943/0.001959, allocations: 1.494 MB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.003026, allocations: 1.22 MB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.141e-05/0.003087, allocations: 4 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.003259, allocations: 15.84 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.003446, allocations: 39.73 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.003587, allocations: 67.03 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.003733, allocations: 147.5 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.003853, allocations: 41.27 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.359e-05/0.003946, allocations: 103.8 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.669e-05/0.004033, allocations: 43.83 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.00406, allocations: 15.98 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.412e-05/0.004114, allocations: 24 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.498e-05/0.004169, allocations: 43.83 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.004218, allocations: 47.89 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.004424, allocations: 223.2 kB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.004426, allocations: 0 / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.224e-06/0.004428, allocations: 3.984 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.004432, allocations: 4 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004914/0.004924, allocations: 417.3 kB / 1.003 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.004962, allocations: 12.75 kB / 1.003 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.853e-05/0.005001, allocations: 38.75 kB / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.057e-05/0.005051, allocations: 16.84 kB / 1.004 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.005307, allocations: 193.5 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001968/0.005504, allocations: 222.2 kB / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.005516, allocations: 8.375 kB / 1.004 GB, free: 9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.005774, allocations: 272.8 kB / 1.004 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.005782, allocations: 192 / 1.004 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.005798, allocations: 7.938 kB / 1.004 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.005821, allocations: 15.98 kB / 1.004 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.018e-05/0.005881, allocations: 39.97 kB / 1.004 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006113/0.006492, allocations: 407.5 kB / 1.005 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.611e-05/0.006549, allocations: 38.5 kB / 1.005 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.03e-05/0.006579, allocations: 20.86 kB / 1.005 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.006602, allocations: 3.984 kB / 1.005 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.006624, allocations: 34.56 kB / 1.005 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.006625, allocations: 0 / 1.005 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0002106/0.006836, allocations: 117.6 kB / 1.005 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.006861, allocations: 51.41 kB / 1.005 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.007007, allocations: 215.8 kB / 1.005 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.562e-05/0.007063, allocations: 29.7 kB / 1.005 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/0.007121, allocations: 120.1 kB / 1.005 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.007141, allocations: 27.89 kB / 1.005 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.007177, allocations: 29.7 kB / 1.005 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.49e-05/0.007261, allocations: 330.8 kB / 1.006 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.696e-05/0.007298, allocations: 23.97 kB / 1.006 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-05/0.007368, allocations: 106.2 kB / 1.006 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.00748, allocations: 138.2 kB / 1.006 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.007483, allocations: 4 kB / 1.006 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001548/0.007638, allocations: 153.3 kB / 1.006 GB, free: 6.629 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.00765, allocations: 4 kB / 1.006 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.007654, allocations: 4 kB / 1.006 GB, free: 6.621 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.007666, allocations: 4 kB / 1.006 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.904e-05/0.007735, allocations: 27.92 kB / 1.006 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.00774, allocations: 4 kB / 1.006 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.007782, allocations: 11.89 kB / 1.006 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.007793, allocations: 12.31 kB / 1.006 GB, free: 6.562 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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.297e-05/0.007876, allocations: 149.8 kB / 1.006 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.007906, allocations: 19.84 kB / 1.006 GB, free: 6.387 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.008076, allocations: 119.2 kB / 1.006 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.008079, allocations: 0 / 1.006 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.008082, allocations: 0 / 1.006 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.008084, allocations: 0 / 1.006 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.008233, allocations: 188.6 kB / 1.007 GB, free: 6.035 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.008235, allocations: 4 kB / 1.007 GB, free: 6.031 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.918e-05/0.008265, allocations: 11.94 kB / 1.007 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.008268, allocations: 7.984 kB / 1.007 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.008275, allocations: 7.984 kB / 1.007 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.008275, allocations: 0 / 1.007 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.008276, allocations: 0 / 1.007 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.008402, allocations: 187.4 kB / 1.007 GB, free: 5.805 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.008563, allocations: 15.91 kB / 1.007 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.008575, allocations: 0 / 1.007 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.008695, allocations: 23.97 kB / 1.007 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/0.008707, allocations: 4 kB / 1.007 GB, free: 5.762 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.008723, allocations: 15.97 kB / 1.007 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.636e-05/0.00881, allocations: 153.5 kB / 1.007 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.1e-08/0.00881, allocations: 0 / 1.007 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002159/0.009026, allocations: 35.86 kB / 1.007 GB, free: 5.562 MB / 0.9636 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 (8): * Single equations (assignments): 8 * 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.0003984/0.009424, allocations: 0.7423 MB / 1.008 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001249/0.009549, allocations: 76.08 kB / 1.008 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.00955, allocations: 0 / 1.008 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.612e-05/0.009577, allocations: 31.86 kB / 1.008 GB, free: 4.691 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.009787, allocations: 16.7 kB / 1.008 GB, free: 4.676 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.01116, allocations: 1.917 MB / 1.01 GB, free: 2.602 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.654e-05/0.01124, allocations: 114.8 kB / 1.01 GB, free: 2.473 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.804e-05/0.01131, allocations: 56.44 kB / 1.01 GB, free: 2.418 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.052e-05/0.01137, allocations: 48.42 kB / 1.01 GB, free: 2.371 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.01138, allocations: 0 / 1.01 GB, free: 2.371 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.02877, allocations: 5.012 MB / 1.015 GB, free: 13.54 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.165/7.194, allocations: 4.562 kB / 1.015 GB, free: 13.53 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 11.118584169074893] Failed to read output from testmodel.py, exit status != 0: 7.282504346221685 7.290817241 7.284690804 Calling exit ...