Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008496/0.0008496, 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.0008685/0.0008685, 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.9039/0.9039, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.76/1.76, allocations: 377.8 MB / 0.6221 GB, free: 8.637 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.WeeklySchedule,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 0.9809 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.832e-05/2.024e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002022/0.002042, allocations: 1.501 MB / 0.9824 GB, free: 1.086 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.003127, allocations: 1.215 MB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.195e-05/0.003178, allocations: 3.938 kB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.003344, allocations: 15.86 kB / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.003521, allocations: 47.7 kB / 0.9837 GB, free: 15.8 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001364/0.003657, allocations: 54.48 kB / 0.9837 GB, free: 15.75 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.003808, allocations: 147.5 kB / 0.9838 GB, free: 15.6 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.003932, allocations: 45.16 kB / 0.9839 GB, free: 15.56 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.894e-05/0.004031, allocations: 111.7 kB / 0.984 GB, free: 15.45 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.401e-05/0.004125, allocations: 51.8 kB / 0.984 GB, free: 15.4 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.004153, allocations: 12 kB / 0.9841 GB, free: 15.39 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.358e-05/0.004206, allocations: 24 kB / 0.9841 GB, free: 15.36 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.681e-05/0.004263, allocations: 43.88 kB / 0.9841 GB, free: 15.32 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.713e-05/0.00431, allocations: 51.83 kB / 0.9842 GB, free: 15.27 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.004521, allocations: 219.3 kB / 0.9844 GB, free: 15.05 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.684e-06/0.004522, allocations: 0 / 0.9844 GB, free: 15.05 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.12e-07/0.004523, allocations: 0 / 0.9844 GB, free: 15.05 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.004528, allocations: 0 / 0.9844 GB, free: 15.05 MB / 0.948 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.0005355/0.005063, allocations: 425.3 kB / 0.9848 GB, free: 14.61 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.005104, allocations: 12.03 kB / 0.9848 GB, free: 14.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.959e-05/0.005143, allocations: 42.73 kB / 0.9848 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.005191, allocations: 20.8 kB / 0.9849 GB, free: 14.53 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.005415, allocations: 197.2 kB / 0.985 GB, free: 14.31 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.005545, allocations: 218.2 kB / 0.9853 GB, free: 14.05 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.005559, allocations: 16.36 kB / 0.9853 GB, free: 14.03 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.005825, allocations: 260.9 kB / 0.9855 GB, free: 13.75 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.005832, allocations: 4.188 kB / 0.9855 GB, free: 13.74 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.00585, allocations: 3.938 kB / 0.9855 GB, free: 13.74 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.005875, allocations: 23.86 kB / 0.9856 GB, free: 13.71 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.062e-05/0.005936, allocations: 39.92 kB / 0.9856 GB, free: 13.68 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006462/0.006582, allocations: 399.6 kB / 0.986 GB, free: 13.24 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.554e-05/0.006637, allocations: 38.52 kB / 0.986 GB, free: 13.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.072e-05/0.006668, allocations: 20.84 kB / 0.986 GB, free: 13.17 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.00669, allocations: 4 kB / 0.986 GB, free: 13.17 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.006711, allocations: 38.55 kB / 0.9861 GB, free: 13.12 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.006712, allocations: 0 / 0.9861 GB, free: 13.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0002098/0.006922, allocations: 105.7 kB / 0.9862 GB, free: 13.01 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.006954, allocations: 55.34 kB / 0.9862 GB, free: 12.95 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.007112, allocations: 219.8 kB / 0.9864 GB, free: 12.72 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.00713, allocations: 25.7 kB / 0.9865 GB, free: 12.69 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/0.007189, allocations: 124.1 kB / 0.9866 GB, free: 12.56 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.007207, allocations: 23.89 kB / 0.9866 GB, free: 12.54 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.007244, allocations: 41.64 kB / 0.9866 GB, free: 12.49 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.797e-05/0.007332, allocations: 326.8 kB / 0.9869 GB, free: 12.16 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.829e-05/0.00737, allocations: 31.97 kB / 0.987 GB, free: 12.13 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.831e-05/0.007438, allocations: 94.3 kB / 0.9871 GB, free: 12 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.007555, allocations: 146.1 kB / 0.9872 GB, free: 11.82 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.007558, allocations: 0 / 0.9872 GB, free: 11.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001598/0.007717, allocations: 153.6 kB / 0.9874 GB, free: 11.67 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.007729, allocations: 8 kB / 0.9874 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.007735, allocations: 4 kB / 0.9874 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.007748, allocations: 4 kB / 0.9874 GB, free: 11.65 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.038e-05/0.007818, allocations: 19.98 kB / 0.9874 GB, free: 11.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.007825, allocations: 7.938 kB / 0.9874 GB, free: 11.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.107e-05/0.007866, allocations: 15.89 kB / 0.9874 GB, free: 11.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.007876, allocations: 11.94 kB / 0.9874 GB, free: 11.6 MB / 0.948 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.777e-05/0.007964, allocations: 137.8 kB / 0.9876 GB, free: 11.45 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.007994, allocations: 15.91 kB / 0.9876 GB, free: 11.44 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.008142, allocations: 123.3 kB / 0.9877 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.008146, allocations: 7.984 kB / 0.9877 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.008149, allocations: 0 / 0.9877 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.008152, allocations: 0 / 0.9877 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.008307, allocations: 188.6 kB / 0.9879 GB, free: 11.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.008309, allocations: 0 / 0.9879 GB, free: 11.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.794e-05/0.008336, allocations: 12 kB / 0.9879 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.008338, allocations: 0 / 0.9879 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.008347, allocations: 11.98 kB / 0.9879 GB, free: 11.05 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.008348, allocations: 0 / 0.9879 GB, free: 11.05 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.008348, allocations: 3.938 kB / 0.9879 GB, free: 11.05 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.008479, allocations: 195.3 kB / 0.9881 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.295e-05/0.008492, allocations: 7.953 kB / 0.9881 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.008505, allocations: 8 kB / 0.9881 GB, free: 10.83 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.008624, allocations: 23.97 kB / 0.9881 GB, free: 10.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.008639, allocations: 0 / 0.9881 GB, free: 10.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.008656, allocations: 15.97 kB / 0.9881 GB, free: 10.79 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.558e-05/0.008752, allocations: 161.5 kB / 0.9883 GB, free: 10.63 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.008752, allocations: 0 / 0.9883 GB, free: 10.63 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002674/0.009019, allocations: 35.83 kB / 0.9883 GB, free: 10.6 MB / 0.948 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.0004058/0.009425, allocations: 0.746 MB / 0.9891 GB, free: 9.828 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.009545, allocations: 72.45 kB / 0.9891 GB, free: 9.758 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.009547, allocations: 0 / 0.9891 GB, free: 9.758 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.667e-05/0.009574, allocations: 28.11 kB / 0.9892 GB, free: 9.73 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.009791, allocations: 19.94 kB / 0.9892 GB, free: 9.711 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.01113, allocations: 1.917 MB / 0.991 GB, free: 7.637 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.469e-05/0.0112, allocations: 122.2 kB / 0.9912 GB, free: 7.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.95e-05/0.01128, allocations: 52.98 kB / 0.9912 GB, free: 7.445 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.768e-05/0.01134, allocations: 44.48 kB / 0.9913 GB, free: 7.402 MB / 0.948 GB Notification: Performance of SimCode: time 6.02e-07/0.01134, allocations: 0 / 0.9913 GB, free: 7.402 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/0.02916, allocations: 5.04 MB / 0.9962 GB, free: 2.547 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.168/7.198, allocations: 8.703 kB / 0.9962 GB, free: 2.543 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 11.211701209656894] Failed to read output from testmodel.py, exit status != 0: 7.281725409440696 7.290417499 7.284232231 Calling exit ...