Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001585/0.001585, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.001316/0.001316, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.435/1.435, allocations: 225.6 MB / 249.4 MB, free: 3.336 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.737/2.737, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 71.89 kB / 1.107 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9098/0.9117, allocations: 168.7 MB / 1.271 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002222/0.9139, allocations: 1.377 MB / 1.273 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001344/0.9141, allocations: 36.8 kB / 1.273 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.78e-05/0.9141, allocations: 5.031 kB / 1.273 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.9143, allocations: 7.438 kB / 1.273 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.9144, allocations: 25.62 kB / 1.273 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.226e-06/0.9144, allocations: 1.469 kB / 1.273 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.864e-05/0.9144, allocations: 9.688 kB / 1.273 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.735e-05/0.9145, allocations: 2.719 kB / 1.273 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.786e-05/0.9145, allocations: 13.84 kB / 1.273 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.9145, allocations: 9.484 kB / 1.273 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.9146, allocations: 0.5625 kB / 1.273 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.752e-05/0.9146, allocations: 12.19 kB / 1.273 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.718e-05/0.9146, allocations: 10.44 kB / 1.273 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.9147, allocations: 6.125 kB / 1.273 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.882e-05/0.9148, allocations: 21 kB / 1.273 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.9148, allocations: 8.594 kB / 1.273 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9148, allocations: 0 / 1.273 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.9148, allocations: 0.7188 kB / 1.273 GB, free: 6.691 MB / 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.0002566/0.915, allocations: 334.1 kB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.9151, allocations: 9.375 kB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.165e-05/0.9151, allocations: 32.14 kB / 1.273 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.407e-05/0.9151, allocations: 10.55 kB / 1.273 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.9152, allocations: 168.3 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.9153, allocations: 1.125 kB / 1.274 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-06/0.9153, allocations: 5.188 kB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.664e-05/0.9153, allocations: 37.67 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.9153, allocations: 3.938 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-06/0.9154, allocations: 0.875 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.9154, allocations: 1.828 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.356e-05/0.9154, allocations: 8.594 kB / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.9156, allocations: 238.9 kB / 1.274 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.403e-05/0.9156, allocations: 32.27 kB / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.488e-05/0.9156, allocations: 7.234 kB / 1.274 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.9157, allocations: 1.438 kB / 1.274 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.9157, allocations: 35.47 kB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.9157, allocations: 0 / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.000133/0.9158, allocations: 42.86 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.9158, allocations: 52.91 kB / 1.274 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.275e-05/0.9159, allocations: 118 kB / 1.274 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.92e-06/0.9159, allocations: 25.7 kB / 1.274 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.981e-05/0.9159, allocations: 91.22 kB / 1.274 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.277e-06/0.9159, allocations: 4.781 kB / 1.274 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/0.916, allocations: 12.19 kB / 1.274 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.874e-05/0.916, allocations: 314.5 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-06/0.916, allocations: 0.9062 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.055e-06/0.916, allocations: 2.594 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.091e-05/0.916, allocations: 17.61 kB / 1.275 GB, free: 5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.916, allocations: 3.938 kB / 1.275 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.266e-05/0.9161, allocations: 38.61 kB / 1.275 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.9161, allocations: 4.906 kB / 1.275 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.9161, allocations: 0.7969 kB / 1.275 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.9161, allocations: 0.7812 kB / 1.275 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.989e-05/0.9162, allocations: 5.562 kB / 1.275 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.9162, allocations: 1.406 kB / 1.275 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.232e-05/0.9162, allocations: 0 / 1.275 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.9162, allocations: 5.562 kB / 1.275 GB, free: 4.953 MB / 0.9981 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 3.775e-05/0.9162, allocations: 113.2 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.9162, allocations: 2.047 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.186e-05/0.9163, allocations: 43.12 kB / 1.275 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.9163, allocations: 1.125 kB / 1.275 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.9163, allocations: 0 / 1.275 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.9163, allocations: 0.7031 kB / 1.275 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.9164, allocations: 159 kB / 1.275 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.9164, allocations: 8.844 kB / 1.275 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.335e-05/0.9164, allocations: 1.688 kB / 1.275 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.9164, allocations: 0.75 kB / 1.275 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-06/0.9165, allocations: 0.75 kB / 1.275 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.9165, allocations: 0.9062 kB / 1.275 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.9165, allocations: 3.938 kB / 1.275 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.001e-05/0.9165, allocations: 138 kB / 1.275 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/0.9165, allocations: 79.45 kB / 1.275 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.9165, allocations: 4.781 kB / 1.275 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.464e-05/0.9166, allocations: 0.6562 kB / 1.275 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.235e-06/0.9166, allocations: 4.688 kB / 1.275 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.9166, allocations: 1.469 kB / 1.275 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.848e-05/0.9166, allocations: 90.34 kB / 1.275 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9166, allocations: 3.938 kB / 1.275 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002421/0.9169, allocations: 5.078 kB / 1.275 GB, free: 4.262 MB / 0.9981 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.0003056/0.9172, allocations: 0.694 MB / 1.276 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.205e-05/0.9173, allocations: 9.219 kB / 1.276 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.9173, allocations: 0 / 1.276 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.828e-06/0.9173, allocations: 7.25 kB / 1.276 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.9175, allocations: 4.094 kB / 1.276 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007509/0.9182, allocations: 1.181 MB / 1.277 GB, free: 18.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.9186, allocations: 0.6829 MB / 1.278 GB, free: 17.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.299e-05/0.9186, allocations: 9.328 kB / 1.278 GB, free: 17.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.9187, allocations: 14.47 kB / 1.278 GB, free: 17.69 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.9187, allocations: 0 / 1.278 GB, free: 17.69 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02488/0.9435, allocations: 1.379 MB / 1.279 GB, free: 17.28 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.922/8.866, allocations: 3.828 kB / 1.279 GB, free: 17.28 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Files_WeeklySchedule.fmu > Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 420.0] [Calling sys.exit(0), Time elapsed: 14.738562962011201] Failed to read output from testmodel.py, exit status != 0: 8.93694571199012 8.960542761 8.041500122 Calling exit ...