Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001849/0.001849, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002315/0.002315, allocations: 216.4 kB / 22.25 MB, free: 5.113 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 8.223 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.888/2.888, allocations: 476.8 MB / 0.7707 GB, free: 4.316 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_11_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.002124/0.002124, allocations: 66.42 kB / 1.117 GB, free: 39.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.339, allocations: 170 MB / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.004192/0.3432, allocations: 1.528 MB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002222/0.3454, allocations: 1.242 MB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.014e-05/0.3455, allocations: 3.938 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.3458, allocations: 15.81 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.346, allocations: 47.77 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.3463, allocations: 55.53 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002841/0.3465, allocations: 147.6 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.3467, allocations: 30 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.3469, allocations: 91.69 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.3471, allocations: 51.78 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.983e-05/0.3472, allocations: 15.98 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.3473, allocations: 27.98 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.3474, allocations: 51.83 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.3475, allocations: 71.53 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003759/0.3479, allocations: 198.8 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3479, allocations: 7.938 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3479, allocations: 0 / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.709e-05/0.3479, allocations: 0 / 1.287 GB, free: 7.984 MB / 0.9825 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.0009112/0.3488, allocations: 429.3 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3488, allocations: 12.03 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.107e-05/0.3489, allocations: 42.73 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.871e-05/0.349, allocations: 16.84 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/0.3494, allocations: 202.1 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002617/0.3497, allocations: 222.2 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.3497, allocations: 4.375 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/0.3501, allocations: 169.5 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3501, allocations: 0 / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.3501, allocations: 0 / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.36e-05/0.3502, allocations: 8 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.3503, allocations: 47.91 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.3515, allocations: 431.5 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.881e-05/0.3516, allocations: 38.5 kB / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.186e-05/0.3516, allocations: 24.84 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.3517, allocations: 0 / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.3517, allocations: 38.55 kB / 1.288 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.3517, allocations: 0 / 1.288 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0003382/0.352, allocations: 105.7 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.3521, allocations: 63.22 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.3524, allocations: 211.8 kB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.3524, allocations: 29.69 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.3525, allocations: 124.2 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.3526, allocations: 27.75 kB / 1.289 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.959e-05/0.3526, allocations: 37.64 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3528, allocations: 326.8 kB / 1.289 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.567e-05/0.3528, allocations: 31.97 kB / 1.289 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.353, allocations: 90.3 kB / 1.289 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.3532, allocations: 154.1 kB / 1.29 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3532, allocations: 0 / 1.29 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002816/0.3535, allocations: 153.6 kB / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3535, allocations: 8 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3535, allocations: 0 / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.3535, allocations: 4 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.3536, allocations: 23.98 kB / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/0.3536, allocations: 11.88 kB / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.163e-05/0.3537, allocations: 15.89 kB / 1.29 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.3537, allocations: 8 kB / 1.29 GB, free: 4.617 MB / 0.9825 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.0001458/0.3539, allocations: 137.8 kB / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-05/0.354, allocations: 19.97 kB / 1.29 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.3542, allocations: 115.1 kB / 1.29 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3542, allocations: 3.938 kB / 1.29 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.3542, allocations: 3.938 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3542, allocations: 0 / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.3545, allocations: 204.6 kB / 1.29 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3545, allocations: 4 kB / 1.29 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.225e-05/0.3545, allocations: 11.98 kB / 1.29 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3545, allocations: 4 kB / 1.29 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.3546, allocations: 4 kB / 1.29 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3546, allocations: 4 kB / 1.29 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3546, allocations: 3.938 kB / 1.29 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.3548, allocations: 195.7 kB / 1.29 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.201e-05/0.3548, allocations: 19.89 kB / 1.291 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.3549, allocations: 4 kB / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.3551, allocations: 15.98 kB / 1.291 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.383e-05/0.3551, allocations: 11.92 kB / 1.291 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.3552, allocations: 11.98 kB / 1.291 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001781/0.3553, allocations: 161.5 kB / 1.291 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3553, allocations: 0 / 1.291 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003351/0.3557, allocations: 31.94 kB / 1.291 GB, free: 3.59 MB / 0.9825 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.0007577/0.3564, allocations: 0.7493 MB / 1.291 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002044/0.3566, allocations: 75.81 kB / 1.292 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3566, allocations: 0.75 kB / 1.292 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.091e-05/0.3567, allocations: 20 kB / 1.292 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.357, allocations: 30.33 kB / 1.292 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/0.3595, allocations: 1.912 MB / 1.293 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.3599, allocations: 0.7353 MB / 1.294 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001397/0.36, allocations: 56.92 kB / 1.294 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.485e-05/0.3601, allocations: 47.41 kB / 1.294 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.3601, allocations: 0 / 1.294 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03653/0.3967, allocations: 4.373 MB / 1.299 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.49, allocations: 7.016 kB / 1.299 GB, free: 11.55 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.18012213683687] Failed to read output from testmodel.py, exit status != 0: 13.138775170082226 12.637523 12.28476912 Calling exit ...