Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Files.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.0007763/0.0007763, 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.0008781/0.0008781, 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.8792/0.8792, 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.763/1.763, allocations: 377.9 MB / 0.6221 GB, free: 8.645 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.WeeklySchedule,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.634e-06/1.634e-06, allocations: 0 / 0.9809 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.686e-05/1.85e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.0018/0.001818, allocations: 1.373 MB / 0.9823 GB, free: 1.223 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001076/0.001926, allocations: 31.83 kB / 0.9823 GB, free: 1.191 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.809e-05/0.001964, allocations: 0 / 0.9823 GB, free: 1.191 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.00211, allocations: 19.86 kB / 0.9823 GB, free: 1.172 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.002221, allocations: 23.84 kB / 0.9824 GB, free: 1.148 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.636e-06/0.002224, allocations: 0 / 0.9824 GB, free: 1.148 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.519e-05/0.002279, allocations: 15.94 kB / 0.9824 GB, free: 1.133 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.563e-05/0.002315, allocations: 0 / 0.9824 GB, free: 1.133 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.966e-05/0.002355, allocations: 7.984 kB / 0.9824 GB, free: 1.125 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.361e-05/0.002398, allocations: 7.938 kB / 0.9824 GB, free: 1.117 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.002418, allocations: 0 / 0.9824 GB, free: 1.117 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.268e-05/0.00246, allocations: 19.92 kB / 0.9824 GB, free: 1.098 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 3.639e-05/0.002497, allocations: 0 / 0.9824 GB, free: 1.098 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.561e-05/0.002512, allocations: 4 kB / 0.9824 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.033e-05/0.002593, allocations: 23.91 kB / 0.9824 GB, free: 1.07 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.002594, allocations: 4 kB / 0.9824 GB, free: 1.066 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.72e-07/0.002595, allocations: 4 kB / 0.9824 GB, free: 1.062 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.002599, allocations: 0 / 0.9824 GB, free: 1.062 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.0002459/0.002844, allocations: 260.4 kB / 0.9827 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.002878, allocations: 8.031 kB / 0.9827 GB, free: 0.7695 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.909e-05/0.002928, allocations: 34.75 kB / 0.9827 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.908e-05/0.002947, allocations: 4.938 kB / 0.9827 GB, free: 0.7227 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.003063, allocations: 117.7 kB / 0.9829 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-06/0.00307, allocations: 384 / 0.9829 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-06/0.003077, allocations: 4.359 kB / 0.9829 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.872e-05/0.003156, allocations: 50.23 kB / 0.9829 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.003162, allocations: 192 / 0.9829 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.003169, allocations: 4.312 kB / 0.9829 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.003182, allocations: 8.062 kB / 0.9829 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.695e-05/0.003199, allocations: 4 kB / 0.9829 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.003409, allocations: 208 kB / 0.9831 GB, free: 268 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.561e-05/0.003445, allocations: 22.56 kB / 0.9831 GB, free: 236 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.395e-05/0.003458, allocations: 8.859 kB / 0.9831 GB, free: 224 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.003473, allocations: 0 / 0.9831 GB, free: 224 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.003492, allocations: 38.56 kB / 0.9832 GB, free: 176 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 6.41e-07/0.003492, allocations: 0 / 0.9832 GB, free: 176 kB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001131/0.003605, allocations: 41.59 kB / 0.9832 GB, free: 128 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.003632, allocations: 55.41 kB / 0.9833 GB, free: 60 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.259e-05/0.003715, allocations: 113.8 kB / 0.9834 GB, free: 15.94 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.003723, allocations: 25.7 kB / 0.9834 GB, free: 15.91 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/0.003756, allocations: 88.12 kB / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.026e-05/0.003766, allocations: 4 kB / 0.9835 GB, free: 15.81 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.978e-05/0.003786, allocations: 9.719 kB / 0.9835 GB, free: 15.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.186e-05/0.003858, allocations: 314.8 kB / 0.9838 GB, free: 15.48 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.355e-06/0.003866, allocations: 4 kB / 0.9838 GB, free: 15.48 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.094e-06/0.003873, allocations: 4.109 kB / 0.9838 GB, free: 15.47 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.76e-05/0.003891, allocations: 16.92 kB / 0.9838 GB, free: 15.45 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.003892, allocations: 0 / 0.9838 GB, free: 15.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.227e-05/0.003935, allocations: 45.53 kB / 0.9839 GB, free: 15.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.003945, allocations: 4 kB / 0.9839 GB, free: 15.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.00395, allocations: 0 / 0.9839 GB, free: 15.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.003962, allocations: 4 kB / 0.9839 GB, free: 15.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.215e-05/0.004004, allocations: 0 / 0.9839 GB, free: 15.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.00401, allocations: 4.297 kB / 0.9839 GB, free: 15.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.468e-06/0.00402, allocations: 3.938 kB / 0.9839 GB, free: 15.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.004028, allocations: 4.031 kB / 0.9839 GB, free: 15.38 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.358e-05/0.004081, allocations: 109.8 kB / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.004095, allocations: 7.938 kB / 0.984 GB, free: 15.26 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.251e-05/0.004157, allocations: 45.14 kB / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.004159, allocations: 0 / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.004163, allocations: 0 / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.004166, allocations: 4 kB / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.891e-05/0.004265, allocations: 124.8 kB / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.004267, allocations: 7.938 kB / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.053e-06/0.004274, allocations: 3.938 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.004277, allocations: 7.969 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.004282, allocations: 4 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.004283, allocations: 0 / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.004283, allocations: 0 / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.15e-05/0.004345, allocations: 139.4 kB / 0.9843 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-06/0.004353, allocations: 3.938 kB / 0.9843 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.004362, allocations: 4 kB / 0.9843 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.328e-05/0.004385, allocations: 0 / 0.9843 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.165e-05/0.004397, allocations: 0 / 0.9843 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-06/0.004398, allocations: 0 / 0.9843 GB, free: 14.86 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.809e-05/0.004436, allocations: 95.3 kB / 0.9844 GB, free: 14.77 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.004436, allocations: 0 / 0.9844 GB, free: 14.77 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001502/0.004586, allocations: 4 kB / 0.9844 GB, free: 14.76 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.0003415/0.004928, allocations: 0.6909 MB / 0.9851 GB, free: 14.05 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.675e-05/0.004985, allocations: 7.984 kB / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.004986, allocations: 4.094 kB / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.518e-06/0.004991, allocations: 4 kB / 0.9851 GB, free: 14.03 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.005143, allocations: 10.91 kB / 0.9851 GB, free: 14.02 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006615/0.005805, allocations: 1.175 MB / 0.9863 GB, free: 12.77 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.288e-05/0.005847, allocations: 63.34 kB / 0.9863 GB, free: 12.68 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.405e-05/0.005902, allocations: 7.984 kB / 0.9863 GB, free: 12.68 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.005934, allocations: 12.5 kB / 0.9864 GB, free: 12.66 MB / 0.948 GB Notification: Performance of SimCode: time 5.91e-07/0.005935, allocations: 0 / 0.9864 GB, free: 12.66 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/0.02362, allocations: 2.032 MB / 0.9883 GB, free: 10.76 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.743/6.767, allocations: 10.89 kB / 0.9884 GB, free: 10.76 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 100 Buildings_12_Buildings_Utilities_IO_Files_WeeklySchedule.fmu > Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 10.82043497543782] Failed to read output from testmodel.py, exit status != 0: 6.849586585536599 6.859627336 6.855245207 Calling exit ...