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.00145/0.00145, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.001529/0.001529, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.467/1.467, allocations: 230.6 MB / 252.8 MB, free: 9.148 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.551/3.551, allocations: 0.49 GB / 0.7916 GB, free: 33.46 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.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: 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.002118/0.002118, allocations: 73.59 kB / 1.149 GB, free: 26.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3259, allocations: 176.1 MB / 1.321 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.003005/0.3289, allocations: 1.399 MB / 1.322 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001738/0.3291, allocations: 43.88 kB / 1.322 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.603e-05/0.3291, allocations: 3.938 kB / 1.322 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.3293, allocations: 7.938 kB / 1.322 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.3294, allocations: 19.91 kB / 1.322 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.737e-06/0.3294, allocations: 0 / 1.322 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.769e-05/0.3295, allocations: 15.94 kB / 1.322 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.682e-05/0.3295, allocations: 4 kB / 1.322 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.448e-05/0.3295, allocations: 11.92 kB / 1.322 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.591e-05/0.3296, allocations: 7.938 kB / 1.322 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.3296, allocations: 4 kB / 1.322 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.648e-05/0.3297, allocations: 8 kB / 1.322 GB, free: 1.812 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.204e-05/0.3297, allocations: 11.97 kB / 1.322 GB, free: 1.801 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.3298, allocations: 11.94 kB / 1.322 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.3299, allocations: 32.14 kB / 1.322 GB, free: 1.758 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3299, allocations: 0 / 1.322 GB, free: 1.758 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.888e-06/0.3299, allocations: 3.984 kB / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.3299, allocations: 0 / 1.322 GB, free: 1.754 MB / 1.014 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.0004027/0.3303, allocations: 335.3 kB / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.3304, allocations: 15.98 kB / 1.323 GB, free: 1.359 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.607e-05/0.3304, allocations: 34.73 kB / 1.323 GB, free: 1.316 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.3304, allocations: 4.891 kB / 1.323 GB, free: 1.312 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.3306, allocations: 168.4 kB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.3306, allocations: 4.375 kB / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/0.3306, allocations: 8.25 kB / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.361e-05/0.3307, allocations: 34.27 kB / 1.323 GB, free: 1.059 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.3308, allocations: 3.938 kB / 1.323 GB, free: 1.055 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.3308, allocations: 0 / 1.323 GB, free: 1.055 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/0.3308, allocations: 4 kB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.334e-05/0.3308, allocations: 3.984 kB / 1.323 GB, free: 1.047 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001858/0.331, allocations: 149.7 kB / 1.323 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.648e-05/0.331, allocations: 30.53 kB / 1.323 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.697e-05/0.3311, allocations: 4.859 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.3311, allocations: 0 / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.3311, allocations: 38.62 kB / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.3311, allocations: 3.938 kB / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001474/0.3313, allocations: 37.59 kB / 1.323 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.3313, allocations: 55.53 kB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.3315, allocations: 121.8 kB / 1.323 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.3315, allocations: 25.7 kB / 1.323 GB, free: 496 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.3315, allocations: 84.14 kB / 1.323 GB, free: 408 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.3315, allocations: 3.938 kB / 1.323 GB, free: 404 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.3316, allocations: 13.72 kB / 1.323 GB, free: 384 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3317, allocations: 314.8 kB / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.277e-05/0.3317, allocations: 4 kB / 1.324 GB, free: 56 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.212e-05/0.3317, allocations: 7.984 kB / 1.324 GB, free: 48 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.567e-05/0.3318, allocations: 8.859 kB / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3318, allocations: 0 / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.158e-05/0.3318, allocations: 41.66 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3319, allocations: 7.938 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.3319, allocations: 0 / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.3319, allocations: 0 / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.559e-05/0.3319, allocations: 4 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3319, allocations: 7.922 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.478e-05/0.3319, allocations: 4.094 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.3319, allocations: 4 kB / 1.324 GB, free: 15.96 MB / 1.029 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 8.366e-05/0.332, allocations: 111.6 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.332, allocations: 3.938 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.348e-05/0.3321, allocations: 45.22 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3321, allocations: 3.984 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3321, allocations: 3.938 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3321, allocations: 0 / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.3323, allocations: 153.7 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3323, allocations: 8.031 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.51e-05/0.3323, allocations: 0 / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.3323, allocations: 3.938 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.3323, allocations: 0 / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3323, allocations: 0 / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3323, allocations: 3.984 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.919e-05/0.3324, allocations: 65.03 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.3324, allocations: 81.14 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.3325, allocations: 7.938 kB / 1.324 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.879e-06/0.3325, allocations: 3.938 kB / 1.324 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.282e-05/0.3325, allocations: 3.984 kB / 1.324 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.3325, allocations: 0 / 1.324 GB, free: 15.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.975e-05/0.3326, allocations: 95.59 kB / 1.324 GB, free: 15.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3326, allocations: 0 / 1.324 GB, free: 15.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001879/0.3327, allocations: 4 kB / 1.324 GB, free: 15.27 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 (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.0005289/0.3333, allocations: 0.6296 MB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.663e-05/0.3333, allocations: 4 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3333, allocations: 0 / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-05/0.3334, allocations: 12.09 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.3335, allocations: 0 / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.3346, allocations: 1.104 MB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.3349, allocations: 0.6807 MB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.547e-05/0.335, allocations: 11.92 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.335, allocations: 7.438 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.335, allocations: 3.938 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/0.3594, allocations: 1.404 MB / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.294/8.653, allocations: 4.641 kB / 1.328 GB, free: 11.37 MB / 1.029 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --stepSize=483.84 --timeout=400 --tolerance=1e-06 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: 15.587921703932807] Failed to read output from testmodel.py, exit status != 0: 8.721694586100057 8.735974308 8.403115514 Calling exit ...