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.001984/0.001984, 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.002856/0.002856, allocations: 219.4 kB / 22.26 MB, free: 5.117 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 8.027 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.223/3.223, allocations: 0.49 GB / 0.7951 GB, free: 33.39 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.00318/0.00318, allocations: 68.69 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3443, allocations: 176.1 MB / 1.326 GB, free: 1.996 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003134/0.3474, allocations: 1.526 MB / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002066/0.3495, allocations: 1.239 MB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.064e-05/0.3496, allocations: 0 / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.3498, allocations: 23.86 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.35, allocations: 43.7 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.3503, allocations: 61.97 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.3505, allocations: 147.6 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.3507, allocations: 37.52 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.3508, allocations: 91.69 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.351, allocations: 51.77 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.238e-05/0.351, allocations: 12 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.693e-05/0.3511, allocations: 27.98 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.391e-05/0.3512, allocations: 47.83 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.3513, allocations: 71.58 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.3516, allocations: 203.2 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3516, allocations: 0 / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3516, allocations: 11.88 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.3517, allocations: 4 kB / 1.329 GB, free: 14.4 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.0007805/0.3524, allocations: 417.3 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3525, allocations: 12.03 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.914e-05/0.3525, allocations: 42.73 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.412e-05/0.3526, allocations: 20.78 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.353, allocations: 198.8 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002196/0.3532, allocations: 218.2 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.3532, allocations: 12.38 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.3536, allocations: 169.4 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.3536, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.3536, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.144e-05/0.3536, allocations: 8 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.299e-05/0.3537, allocations: 43.97 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.3548, allocations: 435.5 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.821e-05/0.3549, allocations: 30.58 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.596e-05/0.3549, allocations: 24.84 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.3549, allocations: 4.141 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.355, allocations: 50.55 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.355, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0002943/0.3553, allocations: 101.8 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.3553, allocations: 55.34 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.3555, allocations: 215.8 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.3556, allocations: 29.7 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.221e-05/0.3557, allocations: 124.1 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.3557, allocations: 19.86 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-05/0.3558, allocations: 37.7 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3559, allocations: 330.8 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.597e-05/0.356, allocations: 27.97 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.3561, allocations: 98.22 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.3563, allocations: 142.2 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3563, allocations: 0 / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002708/0.3565, allocations: 153.4 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3566, allocations: 8 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3566, allocations: 0 / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.3566, allocations: 4 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.3567, allocations: 31.92 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.3567, allocations: 12 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.828e-05/0.3568, allocations: 11.89 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.3568, allocations: 8 kB / 1.332 GB, free: 11.05 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.0001442/0.357, allocations: 150.1 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.411e-05/0.357, allocations: 19.91 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.3573, allocations: 122.9 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.3573, allocations: 0 / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3573, allocations: 3.938 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3573, allocations: 0 / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.3575, allocations: 196.7 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3575, allocations: 7.984 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.125e-05/0.3576, allocations: 11.94 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3576, allocations: 8 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.3576, allocations: 0 / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3576, allocations: 0 / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.3576, allocations: 3.938 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.3578, allocations: 187.4 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/0.3578, allocations: 23.83 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.3579, allocations: 0 / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.3581, allocations: 19.98 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.991e-05/0.3581, allocations: 7.922 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.3581, allocations: 15.98 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001664/0.3583, allocations: 157.5 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3583, allocations: 3.938 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003161/0.3586, allocations: 31.94 kB / 1.333 GB, free: 10.02 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.0007273/0.3594, allocations: 0.7574 MB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001907/0.3595, allocations: 72.39 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3596, allocations: 192 / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.242e-05/0.3596, allocations: 27.94 kB / 1.334 GB, free: 9.145 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.3599, allocations: 23.92 kB / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.3623, allocations: 1.901 MB / 1.336 GB, free: 7.066 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.3627, allocations: 0.7392 MB / 1.337 GB, free: 6.301 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001503/0.3628, allocations: 52.94 kB / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.702e-05/0.3629, allocations: 47.41 kB / 1.337 GB, free: 6.203 MB / 1.029 GB Notification: Performance of SimCode: time 6.32e-07/0.3629, allocations: 0 / 1.337 GB, free: 6.203 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03502/0.3979, allocations: 4.386 MB / 1.341 GB, free: 1.984 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.39, allocations: 8.469 kB / 1.341 GB, free: 1.98 MB / 1.029 GB " [Timeout remaining time 287] (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: 20.403841961873695] Failed to read output from testmodel.py, exit status != 0: 13.497515592956915 13.521179304 13.164880054 Calling exit ...