Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001241/0.001241, 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.001178/0.001178, allocations: 165.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.9097/0.9097, 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 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.756/1.756, allocations: 377.8 MB / 0.6221 GB, free: 8.66 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.WeeklySchedule7to19,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.9809 GB, free: 2.621 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705e-05/1.845e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001843/0.001861, allocations: 1.399 MB / 0.9823 GB, free: 1.211 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001307/0.001992, allocations: 43.75 kB / 0.9823 GB, free: 1.168 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.378e-05/0.002036, allocations: 3.938 kB / 0.9823 GB, free: 1.164 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.002209, allocations: 7.938 kB / 0.9824 GB, free: 1.156 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.002328, allocations: 11.98 kB / 0.9824 GB, free: 1.145 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 4.499e-06/0.002332, allocations: 0 / 0.9824 GB, free: 1.145 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.502e-05/0.002407, allocations: 19.92 kB / 0.9824 GB, free: 1.125 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 5.123e-05/0.002458, allocations: 7.938 kB / 0.9824 GB, free: 1.117 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.767e-05/0.002506, allocations: 11.98 kB / 0.9824 GB, free: 1.105 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.188e-05/0.002558, allocations: 11.92 kB / 0.9824 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.002579, allocations: 0 / 0.9824 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.317e-05/0.002632, allocations: 15.94 kB / 0.9824 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.228e-05/0.002674, allocations: 3.938 kB / 0.9824 GB, free: 1.074 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.595e-05/0.00269, allocations: 4 kB / 0.9824 GB, free: 1.07 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.002796, allocations: 39.83 kB / 0.9825 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.002798, allocations: 0 / 0.9825 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.42e-07/0.002799, allocations: 0 / 0.9825 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.626e-06/0.002803, allocations: 0 / 0.9825 GB, free: 1.031 MB / 0.9323 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.0002751/0.003078, allocations: 254.3 kB / 0.9827 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.003123, allocations: 12.03 kB / 0.9827 GB, free: 0.7383 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.923e-05/0.003152, allocations: 34.75 kB / 0.9828 GB, free: 0.6953 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.003179, allocations: 4.938 kB / 0.9828 GB, free: 0.6914 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.003317, allocations: 113.7 kB / 0.9829 GB, free: 0.5547 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.003325, allocations: 384 / 0.9829 GB, free: 0.5547 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.871e-06/0.003331, allocations: 4.375 kB / 0.9829 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.359e-05/0.003404, allocations: 30.27 kB / 0.9829 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.003412, allocations: 4.188 kB / 0.9829 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.003418, allocations: 384 / 0.9829 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.003439, allocations: 12.05 kB / 0.9829 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.873e-05/0.003458, allocations: 7.938 kB / 0.9829 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001116/0.00357, allocations: 124.8 kB / 0.983 GB, free: 336 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.767e-05/0.003607, allocations: 22.56 kB / 0.9831 GB, free: 304 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.451e-05/0.003622, allocations: 8.922 kB / 0.9831 GB, free: 292 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.00364, allocations: 3.984 kB / 0.9831 GB, free: 288 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.003658, allocations: 30.56 kB / 0.9831 GB, free: 248 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.003659, allocations: 0 / 0.9831 GB, free: 248 kB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001185/0.003778, allocations: 41.64 kB / 0.9832 GB, free: 200 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.003807, allocations: 55.34 kB / 0.9832 GB, free: 132 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.334e-05/0.0039, allocations: 129.9 kB / 0.9833 GB, free: 15.99 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.003908, allocations: 25.7 kB / 0.9834 GB, free: 15.96 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.908e-05/0.003937, allocations: 88.08 kB / 0.9834 GB, free: 15.87 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.003956, allocations: 3.953 kB / 0.9834 GB, free: 15.87 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.00398, allocations: 13.72 kB / 0.9835 GB, free: 15.85 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.861e-05/0.004058, allocations: 310.8 kB / 0.9837 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.00407, allocations: 8 kB / 0.9838 GB, free: 15.53 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.561e-06/0.004075, allocations: 0 / 0.9838 GB, free: 15.53 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.307e-05/0.004098, allocations: 12.84 kB / 0.9838 GB, free: 15.51 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.004101, allocations: 3.938 kB / 0.9838 GB, free: 15.51 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.335e-05/0.004144, allocations: 41.77 kB / 0.9838 GB, free: 15.46 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.004156, allocations: 4 kB / 0.9838 GB, free: 15.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.004161, allocations: 0 / 0.9838 GB, free: 15.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.004171, allocations: 0 / 0.9838 GB, free: 15.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.925e-05/0.00422, allocations: 7.938 kB / 0.9838 GB, free: 15.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.004224, allocations: 320 / 0.9838 GB, free: 15.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.008e-05/0.004235, allocations: 3.938 kB / 0.9838 GB, free: 15.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.004241, allocations: 3.984 kB / 0.9838 GB, free: 15.44 MB / 0.948 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 5.868e-05/0.004299, allocations: 109.8 kB / 0.9839 GB, free: 15.32 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-06/0.004306, allocations: 3.953 kB / 0.9839 GB, free: 15.32 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.22e-05/0.004378, allocations: 53.12 kB / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.00438, allocations: 0 / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.004384, allocations: 3.938 kB / 0.984 GB, free: 15.26 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.004387, allocations: 0 / 0.984 GB, free: 15.26 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.092e-05/0.004458, allocations: 128.8 kB / 0.9841 GB, free: 15.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.004458, allocations: 0 / 0.9841 GB, free: 15.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.264e-06/0.004466, allocations: 0 / 0.9841 GB, free: 15.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.004467, allocations: 3.938 kB / 0.9841 GB, free: 15.09 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.004473, allocations: 4 kB / 0.9841 GB, free: 15.09 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.004475, allocations: 3.984 kB / 0.9841 GB, free: 15.08 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.004477, allocations: 11.97 kB / 0.9841 GB, free: 15.07 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.21e-05/0.004529, allocations: 57.12 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-06/0.004539, allocations: 7.953 kB / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-06/0.004548, allocations: 4 kB / 0.9842 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.24e-06/0.004553, allocations: 0 / 0.9842 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.983e-05/0.004573, allocations: 7.875 kB / 0.9842 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.004575, allocations: 3.938 kB / 0.9842 GB, free: 14.97 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.941e-05/0.004625, allocations: 91.27 kB / 0.9843 GB, free: 14.88 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004625, allocations: 0 / 0.9843 GB, free: 14.88 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001294/0.004754, allocations: 4 kB / 0.9843 GB, free: 14.88 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 (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.0003656/0.00512, allocations: 0.6106 MB / 0.9849 GB, free: 14.24 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.385e-05/0.005204, allocations: 8 kB / 0.9849 GB, free: 14.23 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.005206, allocations: 0 / 0.9849 GB, free: 14.23 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.466e-06/0.005214, allocations: 11.92 kB / 0.9849 GB, free: 14.22 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/0.005339, allocations: 3.938 kB / 0.9849 GB, free: 14.22 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007639/0.006103, allocations: 1.118 MB / 0.986 GB, free: 13.02 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.071e-05/0.006144, allocations: 59.34 kB / 0.9861 GB, free: 12.94 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.046e-05/0.006184, allocations: 4 kB / 0.9861 GB, free: 12.93 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/0.006215, allocations: 12.5 kB / 0.9861 GB, free: 12.92 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/0.006216, allocations: 4 kB / 0.9861 GB, free: 12.92 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01581/0.02202, allocations: 2.043 MB / 0.9881 GB, free: 11.01 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.005/7.027, allocations: 0.5 kB / 0.9881 GB, free: 11.01 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --stepSize=483.84 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 11.096350252628326] Failed to read output from testmodel.py, exit status != 0: 7.109712651930749 7.120876847 7.116397506 Calling exit ...