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.001755/0.001755, allocations: 108.1 kB / 16.46 MB, free: 6.457 MB / 14.72 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.00216/0.00216, allocations: 212.3 kB / 19.43 MB, free: 3.625 MB / 14.72 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 1.457/1.457, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.388/3.388, allocations: 0.49 GB / 0.7916 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 71.27 kB / 1.149 GB, free: 26.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3647, allocations: 176.1 MB / 1.321 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003449/0.3682, allocations: 1.516 MB / 1.322 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002065/0.3702, allocations: 1.148 MB / 1.323 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.97e-05/0.3703, allocations: 3.938 kB / 1.323 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.3705, allocations: 19.86 kB / 1.323 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.3707, allocations: 35.78 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.371, allocations: 66.66 kB / 1.324 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.3712, allocations: 147.5 kB / 1.324 GB, free: 408 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.3714, allocations: 49.33 kB / 1.324 GB, free: 356 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.3715, allocations: 87.75 kB / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.3717, allocations: 59.69 kB / 1.324 GB, free: 208 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.394e-05/0.3718, allocations: 12 kB / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-05/0.3719, allocations: 27.94 kB / 1.324 GB, free: 168 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.372, allocations: 51.81 kB / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.995e-05/0.3721, allocations: 75.52 kB / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.3724, allocations: 199.3 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3724, allocations: 0 / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3724, allocations: 0 / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.3724, allocations: 0 / 1.324 GB, free: 15.84 MB / 1.029 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.000842/0.3733, allocations: 0.4945 MB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3733, allocations: 15.98 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.288e-05/0.3734, allocations: 46.67 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.816e-05/0.3735, allocations: 16.84 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.3738, allocations: 252 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.374, allocations: 119.4 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.374, allocations: 4.375 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003882/0.3744, allocations: 165.4 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3744, allocations: 0 / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.3744, allocations: 4 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.134e-05/0.3745, allocations: 11.98 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.885e-05/0.3746, allocations: 47.91 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.3758, allocations: 460.4 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.3759, allocations: 38.5 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.95e-05/0.3759, allocations: 28.84 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.376, allocations: 4 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.376, allocations: 30.56 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.874e-06/0.376, allocations: 4 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0003377/0.3763, allocations: 109.7 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.3764, allocations: 55.34 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.3767, allocations: 211.8 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.3767, allocations: 29.7 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.3768, allocations: 132 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.3768, allocations: 23.94 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.022e-05/0.3769, allocations: 29.7 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3771, allocations: 326.8 kB / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.431e-05/0.3771, allocations: 31.92 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.3773, allocations: 94.28 kB / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.3775, allocations: 146.1 kB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3775, allocations: 0 / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002881/0.3778, allocations: 153.5 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.3778, allocations: 8 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.3778, allocations: 8.297 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.3778, allocations: 7.938 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.3779, allocations: 16 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/0.378, allocations: 15.86 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.834e-05/0.378, allocations: 15.89 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.3781, allocations: 11.98 kB / 1.327 GB, free: 12.39 MB / 1.029 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 0.0001516/0.3782, allocations: 142 kB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/0.3783, allocations: 15.91 kB / 1.327 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.3785, allocations: 119 kB / 1.327 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3785, allocations: 0 / 1.327 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.3786, allocations: 11.94 kB / 1.328 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3786, allocations: 0 / 1.328 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.3789, allocations: 233.5 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3789, allocations: 0 / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.576e-05/0.3789, allocations: 15.98 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3789, allocations: 0 / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.379, allocations: 4 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.379, allocations: 0 / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.379, allocations: 3.938 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.3792, allocations: 191.4 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.148e-05/0.3793, allocations: 89.02 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.3793, allocations: 0 / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002847/0.3796, allocations: 27.91 kB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/0.3796, allocations: 19.86 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.3796, allocations: 7.984 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001719/0.3798, allocations: 165.5 kB / 1.328 GB, free: 11.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3798, allocations: 0 / 1.328 GB, free: 11.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003622/0.3802, allocations: 31.94 kB / 1.328 GB, free: 11.24 MB / 1.029 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.0008167/0.381, allocations: 0.7495 MB / 1.329 GB, free: 10.47 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002008/0.3812, allocations: 67.83 kB / 1.329 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3812, allocations: 0.75 kB / 1.329 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.415e-05/0.3812, allocations: 27.98 kB / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.3816, allocations: 19.92 kB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.3841, allocations: 1.916 MB / 1.331 GB, free: 8.293 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.3845, allocations: 0.7314 MB / 1.332 GB, free: 7.535 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001509/0.3846, allocations: 56.77 kB / 1.332 GB, free: 7.477 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.296e-05/0.3847, allocations: 43.42 kB / 1.332 GB, free: 7.434 MB / 1.029 GB Notification: Performance of SimCode: time 7.32e-07/0.3847, allocations: 0 / 1.332 GB, free: 7.434 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03135/0.4161, allocations: 4.24 MB / 1.336 GB, free: 3.316 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.47/8.886, allocations: 21.86 kB / 1.336 GB, free: 3.297 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.653414560016245] Failed to read output from testmodel.py, exit status != 0: 8.961312385974452 8.985287601 8.608102367 Calling exit ...