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.0008548/0.0008548, 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.0008416/0.0008416, 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.8711/0.8711, allocations: 177.1 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.736/1.736, allocations: 377.8 MB / 0.6221 GB, free: 8.684 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.242e-06/1.242e-06, allocations: 0 / 0.9809 GB, free: 2.633 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.189e-05/1.314e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001618/0.001631, allocations: 1.391 MB / 0.9823 GB, free: 1.23 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001129/0.001744, allocations: 43.81 kB / 0.9823 GB, free: 1.188 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.993e-05/0.001784, allocations: 3.938 kB / 0.9823 GB, free: 1.184 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.00193, allocations: 15.86 kB / 0.9824 GB, free: 1.168 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 9.744e-05/0.002028, allocations: 11.98 kB / 0.9824 GB, free: 1.156 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.887e-06/0.002031, allocations: 0 / 0.9824 GB, free: 1.156 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.18e-05/0.002093, allocations: 19.88 kB / 0.9824 GB, free: 1.137 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.68e-05/0.00213, allocations: 3.984 kB / 0.9824 GB, free: 1.133 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.999e-05/0.00217, allocations: 11.94 kB / 0.9824 GB, free: 1.121 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.002218, allocations: 7.984 kB / 0.9824 GB, free: 1.113 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.002237, allocations: 0 / 0.9824 GB, free: 1.113 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.773e-05/0.002275, allocations: 12 kB / 0.9824 GB, free: 1.102 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.029e-05/0.002315, allocations: 15.92 kB / 0.9824 GB, free: 1.086 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.694e-05/0.002332, allocations: 0 / 0.9824 GB, free: 1.086 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.601e-05/0.002428, allocations: 27.91 kB / 0.9825 GB, free: 1.059 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.00243, allocations: 0 / 0.9825 GB, free: 1.059 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.61e-07/0.002431, allocations: 0 / 0.9825 GB, free: 1.059 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.002434, allocations: 0 / 0.9825 GB, free: 1.059 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.000242/0.002676, allocations: 266.1 kB / 0.9827 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.002708, allocations: 12.03 kB / 0.9827 GB, free: 0.7539 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.423e-05/0.002732, allocations: 30.75 kB / 0.9828 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.804e-05/0.00275, allocations: 4.938 kB / 0.9828 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.002862, allocations: 121.7 kB / 0.9829 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-06/0.002869, allocations: 4.375 kB / 0.9829 GB, free: 0.5625 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.541e-06/0.002874, allocations: 384 / 0.9829 GB, free: 0.5625 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.243e-05/0.002937, allocations: 30.27 kB / 0.9829 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.002943, allocations: 4.172 kB / 0.9829 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.00295, allocations: 4.359 kB / 0.9829 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.002966, allocations: 8.062 kB / 0.9829 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.619e-05/0.002982, allocations: 7.938 kB / 0.9829 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001003/0.003082, allocations: 120.8 kB / 0.983 GB, free: 352 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.738e-05/0.003119, allocations: 26.56 kB / 0.9831 GB, free: 316 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.263e-05/0.003132, allocations: 12.92 kB / 0.9831 GB, free: 300 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.003148, allocations: 0 / 0.9831 GB, free: 300 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.003166, allocations: 34.56 kB / 0.9831 GB, free: 256 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 4.91e-07/0.003166, allocations: 0 / 0.9831 GB, free: 256 kB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001002/0.003266, allocations: 41.64 kB / 0.9832 GB, free: 208 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.003293, allocations: 55.34 kB / 0.9832 GB, free: 140 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.59e-05/0.003369, allocations: 117.8 kB / 0.9833 GB, free: 12 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.003388, allocations: 29.7 kB / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.614e-05/0.003415, allocations: 80.14 kB / 0.9834 GB, free: 15.89 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.00343, allocations: 4.078 kB / 0.9834 GB, free: 15.89 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.996e-05/0.00345, allocations: 21.72 kB / 0.9835 GB, free: 15.86 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.806e-05/0.003518, allocations: 310.8 kB / 0.9837 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.727e-06/0.003527, allocations: 4 kB / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.52e-06/0.003533, allocations: 3.984 kB / 0.9838 GB, free: 15.54 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.029e-05/0.003553, allocations: 20.73 kB / 0.9838 GB, free: 15.52 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.003555, allocations: 0 / 0.9838 GB, free: 15.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.292e-05/0.003588, allocations: 33.7 kB / 0.9838 GB, free: 15.48 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.003598, allocations: 4 kB / 0.9838 GB, free: 15.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.003603, allocations: 4.094 kB / 0.9838 GB, free: 15.47 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.003613, allocations: 4 kB / 0.9838 GB, free: 15.47 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.074e-05/0.003653, allocations: 3.938 kB / 0.9838 GB, free: 15.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.003658, allocations: 3.984 kB / 0.9838 GB, free: 15.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.115e-06/0.003667, allocations: 0 / 0.9838 GB, free: 15.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.003675, allocations: 4 kB / 0.9838 GB, free: 15.46 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 4.557e-05/0.00372, allocations: 109.8 kB / 0.9839 GB, free: 15.34 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-06/0.003726, allocations: 7.953 kB / 0.9839 GB, free: 15.33 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.816e-05/0.003785, allocations: 41.09 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.02e-07/0.003785, allocations: 0 / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.003791, allocations: 11.97 kB / 0.984 GB, free: 15.28 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.003792, allocations: 0 / 0.984 GB, free: 15.28 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.561e-05/0.003848, allocations: 124.8 kB / 0.9841 GB, free: 15.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.003849, allocations: 0 / 0.9841 GB, free: 15.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.17e-06/0.003854, allocations: 0 / 0.9841 GB, free: 15.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.003857, allocations: 4 kB / 0.9841 GB, free: 15.11 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.003862, allocations: 3.938 kB / 0.9841 GB, free: 15.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.003862, allocations: 0 / 0.9841 GB, free: 15.11 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.003864, allocations: 4.25 kB / 0.9841 GB, free: 15.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.271e-05/0.003907, allocations: 61.12 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.377e-06/0.003916, allocations: 11.89 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.905e-06/0.003924, allocations: 4.031 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.899e-06/0.003929, allocations: 0 / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.089e-05/0.00394, allocations: 3.938 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-06/0.003941, allocations: 0 / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.975e-05/0.003981, allocations: 103.2 kB / 0.9843 GB, free: 14.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.003981, allocations: 0 / 0.9843 GB, free: 14.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001264/0.004107, allocations: 3.938 kB / 0.9843 GB, free: 14.9 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.0002848/0.004392, allocations: 0.6145 MB / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.702e-05/0.004449, allocations: 11.88 kB / 0.9849 GB, free: 14.25 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.004451, allocations: 0 / 0.9849 GB, free: 14.25 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.711e-06/0.004456, allocations: 7.984 kB / 0.9849 GB, free: 14.24 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001005/0.004557, allocations: 7.938 kB / 0.9849 GB, free: 14.23 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006032/0.00516, allocations: 1.102 MB / 0.986 GB, free: 13.04 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.843e-05/0.005199, allocations: 63.5 kB / 0.9861 GB, free: 12.96 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.493e-05/0.005233, allocations: 7.953 kB / 0.9861 GB, free: 12.95 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.005262, allocations: 12.5 kB / 0.9861 GB, free: 12.94 MB / 0.948 GB Notification: Performance of SimCode: time 3.2e-07/0.005262, allocations: 0 / 0.9861 GB, free: 12.94 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01307/0.01833, allocations: 2.041 MB / 0.9881 GB, free: 11.04 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.679/6.698, allocations: 4.438 kB / 0.9881 GB, free: 11.04 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.csv --start-time 0 --stop-time 1.2096e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 483.84 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: 10.792603898793459] Failed to read output from testmodel.py, exit status != 0: 6.7800496770069 6.791859374 6.787827985 Calling exit ...