Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.265/3.265, allocations: 497.2 MB / 0.7811 GB, free: 33.65 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 68.3 kB / 1.134 GB, free: 33.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3266, allocations: 173.9 MB / 1.304 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.003394/0.33, allocations: 1.353 MB / 1.305 GB, free: 332 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001902/0.3301, allocations: 51.73 kB / 1.305 GB, free: 280 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.124e-05/0.3302, allocations: 4 kB / 1.305 GB, free: 276 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.3304, allocations: 11.94 kB / 1.305 GB, free: 264 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.3305, allocations: 11.92 kB / 1.305 GB, free: 252 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.739e-06/0.3305, allocations: 0 / 1.305 GB, free: 252 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.295e-05/0.3306, allocations: 15.88 kB / 1.305 GB, free: 236 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.646e-05/0.3307, allocations: 3.984 kB / 1.305 GB, free: 232 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.515e-05/0.3307, allocations: 11.98 kB / 1.305 GB, free: 220 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.344e-05/0.3308, allocations: 7.938 kB / 1.305 GB, free: 212 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.3308, allocations: 0 / 1.305 GB, free: 212 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.871e-05/0.3309, allocations: 15.98 kB / 1.305 GB, free: 196 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.799e-05/0.3309, allocations: 4 kB / 1.305 GB, free: 192 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.3309, allocations: 7.938 kB / 1.305 GB, free: 184 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.331, allocations: 28.12 kB / 1.305 GB, free: 156 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3311, allocations: 0 / 1.305 GB, free: 156 kB / 0.9981 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3311, allocations: 0 / 1.305 GB, free: 156 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.3311, allocations: 4 kB / 1.305 GB, free: 152 kB / 0.9981 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.0004694/0.3315, allocations: 331.3 kB / 1.306 GB, free: 15.77 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.3316, allocations: 12.62 kB / 1.306 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.426e-05/0.3316, allocations: 30.75 kB / 1.306 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.3317, allocations: 8.891 kB / 1.306 GB, free: 15.71 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.3319, allocations: 180.4 kB / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.3319, allocations: 4.312 kB / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.3319, allocations: 384 / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.332, allocations: 34.25 kB / 1.306 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.3321, allocations: 3.938 kB / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.3321, allocations: 0 / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/0.3321, allocations: 4 kB / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.507e-05/0.3321, allocations: 4 kB / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003413/0.3324, allocations: 248.9 kB / 1.306 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.208e-05/0.3325, allocations: 26.45 kB / 1.306 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.914e-05/0.3325, allocations: 4.859 kB / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.3325, allocations: 0 / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/0.3326, allocations: 38.62 kB / 1.306 GB, free: 15.06 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.3326, allocations: 0 / 1.306 GB, free: 15.06 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001601/0.3327, allocations: 37.78 kB / 1.306 GB, free: 15.02 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.3328, allocations: 59.34 kB / 1.306 GB, free: 14.95 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.3329, allocations: 113.8 kB / 1.307 GB, free: 14.83 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.333, allocations: 25.7 kB / 1.307 GB, free: 14.8 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.333, allocations: 80.14 kB / 1.307 GB, free: 14.71 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.333, allocations: 7.891 kB / 1.307 GB, free: 14.71 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.3331, allocations: 21.7 kB / 1.307 GB, free: 14.68 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3332, allocations: 310.8 kB / 1.307 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.3332, allocations: 8.031 kB / 1.307 GB, free: 14.36 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.167e-06/0.3333, allocations: 0 / 1.307 GB, free: 14.36 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.921e-05/0.3333, allocations: 12.86 kB / 1.307 GB, free: 14.34 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3333, allocations: 7.875 kB / 1.307 GB, free: 14.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.797e-05/0.3334, allocations: 41.62 kB / 1.307 GB, free: 14.29 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3334, allocations: 4 kB / 1.307 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3334, allocations: 0 / 1.307 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.3334, allocations: 0 / 1.307 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.771e-05/0.3334, allocations: 4 kB / 1.307 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3335, allocations: 4.094 kB / 1.307 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.309e-05/0.3335, allocations: 0 / 1.307 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.3335, allocations: 0 / 1.307 GB, free: 14.28 MB / 1.014 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 0.0001057/0.3336, allocations: 113.8 kB / 1.307 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.3336, allocations: 7.938 kB / 1.307 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.962e-05/0.3337, allocations: 41.23 kB / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3337, allocations: 0 / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3337, allocations: 0 / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.3337, allocations: 4.031 kB / 1.307 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.3339, allocations: 161.6 kB / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3339, allocations: 0 / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.618e-05/0.3339, allocations: 7.938 kB / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.3339, allocations: 0 / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.3339, allocations: 0 / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.3339, allocations: 0 / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.3339, allocations: 4 kB / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.334, allocations: 135.5 kB / 1.307 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.536e-05/0.3341, allocations: 85.09 kB / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.3341, allocations: 0 / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.58e-05/0.3342, allocations: 0 / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.3342, allocations: 3.984 kB / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.3342, allocations: 0 / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.479e-05/0.3343, allocations: 91.27 kB / 1.308 GB, free: 13.53 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3343, allocations: 0 / 1.308 GB, free: 13.53 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002233/0.3345, allocations: 11.89 kB / 1.308 GB, free: 13.52 MB / 1.014 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.0006135/0.3351, allocations: 0.6847 MB / 1.308 GB, free: 12.81 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.71e-05/0.3352, allocations: 8 kB / 1.308 GB, free: 12.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3352, allocations: 8.031 kB / 1.308 GB, free: 12.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.395e-05/0.3352, allocations: 7.984 kB / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.3354, allocations: 1.828 kB / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.3366, allocations: 1.183 MB / 1.31 GB, free: 11.52 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.3369, allocations: 0.6768 MB / 1.31 GB, free: 10.82 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001115/0.337, allocations: 4 kB / 1.31 GB, free: 10.82 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.3371, allocations: 15.42 kB / 1.31 GB, free: 10.8 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.3371, allocations: 0 / 1.31 GB, free: 10.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02959/0.3667, allocations: 1.386 MB / 1.312 GB, free: 9.496 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.469/8.836, allocations: 10.02 kB / 1.312 GB, free: 9.492 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=100 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule.fmu > Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.309380929917097] Failed to read output from testmodel.py, exit status != 0: 8.90432582097128 8.923146171 8.588492924 Calling exit ...