Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.001363/0.001363, allocations: 107.6 kB / 16.45 MB, free: 6.504 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.001387/0.001387, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.407/1.407, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.545/2.545, allocations: 443.5 MB / 0.7287 GB, free: 13.41 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 71.89 kB / 1.056 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8144/0.8164, allocations: 160.7 MB / 1.213 GB, free: 3.902 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.00318/0.8196, allocations: 1.369 MB / 1.214 GB, free: 2.832 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000182/0.8198, allocations: 48.72 kB / 1.214 GB, free: 2.793 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.637e-05/0.8198, allocations: 0 / 1.214 GB, free: 2.793 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.82, allocations: 18.17 kB / 1.214 GB, free: 2.777 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.8201, allocations: 11.53 kB / 1.214 GB, free: 2.77 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.679e-06/0.8201, allocations: 1.062 kB / 1.214 GB, free: 2.77 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.636e-05/0.8202, allocations: 18.64 kB / 1.214 GB, free: 2.758 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.163e-05/0.8203, allocations: 4.906 kB / 1.214 GB, free: 2.754 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.217e-05/0.8203, allocations: 7.422 kB / 1.214 GB, free: 2.75 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.78e-05/0.8203, allocations: 15.2 kB / 1.214 GB, free: 2.738 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.8204, allocations: 1.219 kB / 1.214 GB, free: 2.738 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.755e-05/0.8204, allocations: 11.59 kB / 1.214 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.198e-05/0.8205, allocations: 9.438 kB / 1.214 GB, free: 2.727 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.362e-05/0.8205, allocations: 6.031 kB / 1.214 GB, free: 2.723 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.8206, allocations: 44.47 kB / 1.214 GB, free: 2.691 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.8206, allocations: 0 / 1.214 GB, free: 2.691 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8206, allocations: 0 / 1.214 GB, free: 2.691 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.8206, allocations: 0 / 1.214 GB, free: 2.691 MB / 0.92 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.0004118/0.821, allocations: 335.7 kB / 1.215 GB, free: 2.32 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.8211, allocations: 10.27 kB / 1.215 GB, free: 2.32 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.03e-05/0.8211, allocations: 31.94 kB / 1.215 GB, free: 2.281 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.8212, allocations: 5.859 kB / 1.215 GB, free: 2.277 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.8214, allocations: 176.5 kB / 1.215 GB, free: 2.07 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.8214, allocations: 5.531 kB / 1.215 GB, free: 2.066 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-06/0.8214, allocations: 384 / 1.215 GB, free: 2.066 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.306e-05/0.8215, allocations: 33.58 kB / 1.215 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.8215, allocations: 7.938 kB / 1.215 GB, free: 2.023 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.8215, allocations: 1.094 kB / 1.215 GB, free: 2.023 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.8215, allocations: 0 / 1.215 GB, free: 2.023 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.608e-05/0.8216, allocations: 2.344 kB / 1.215 GB, free: 2.023 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002006/0.8218, allocations: 158 kB / 1.215 GB, free: 1.824 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.505e-05/0.8218, allocations: 24.8 kB / 1.215 GB, free: 1.793 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.8218, allocations: 7.266 kB / 1.215 GB, free: 1.785 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.8219, allocations: 7.922 kB / 1.215 GB, free: 1.777 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.8219, allocations: 31.59 kB / 1.215 GB, free: 1.738 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.8219, allocations: 0 / 1.215 GB, free: 1.738 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001501/0.822, allocations: 41.36 kB / 1.215 GB, free: 1.699 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.8221, allocations: 51.41 kB / 1.215 GB, free: 1.637 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.8222, allocations: 119.4 kB / 1.215 GB, free: 1.523 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.8222, allocations: 29.64 kB / 1.215 GB, free: 1.488 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.871e-05/0.8223, allocations: 85.91 kB / 1.216 GB, free: 1.402 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.8223, allocations: 8.734 kB / 1.216 GB, free: 1.395 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.8223, allocations: 15.88 kB / 1.216 GB, free: 1.375 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.8225, allocations: 312 kB / 1.216 GB, free: 1.062 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.576e-05/0.8225, allocations: 5.031 kB / 1.216 GB, free: 1.059 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.406e-06/0.8225, allocations: 2.188 kB / 1.216 GB, free: 1.059 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.374e-05/0.8226, allocations: 20.25 kB / 1.216 GB, free: 1.039 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.8226, allocations: 0.75 kB / 1.216 GB, free: 1.039 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.393e-05/0.8226, allocations: 32.83 kB / 1.216 GB, free: 1.008 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.8226, allocations: 9 kB / 1.216 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.8227, allocations: 0 / 1.216 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.8227, allocations: 0.75 kB / 1.216 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.711e-05/0.8227, allocations: 5.609 kB / 1.216 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.8227, allocations: 0.6875 kB / 1.216 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.601e-05/0.8227, allocations: 0.9375 kB / 1.216 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.8228, allocations: 4.031 kB / 1.216 GB, free: 0.9961 MB / 0.92 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.644e-05/0.8228, allocations: 124.8 kB / 1.216 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.8229, allocations: 9.016 kB / 1.216 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.823, allocations: 39.8 kB / 1.216 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.823, allocations: 1.094 kB / 1.216 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.823, allocations: 3.984 kB / 1.216 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.823, allocations: 1 kB / 1.216 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.8231, allocations: 153.9 kB / 1.216 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.8231, allocations: 4.031 kB / 1.216 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.775e-05/0.8231, allocations: 2.031 kB / 1.216 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.8231, allocations: 3.938 kB / 1.216 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.8231, allocations: 1.062 kB / 1.216 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.8231, allocations: 0 / 1.216 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8231, allocations: 1.125 kB / 1.216 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.341e-05/0.8232, allocations: 65.34 kB / 1.216 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/0.8233, allocations: 78.17 kB / 1.216 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.8233, allocations: 7.969 kB / 1.216 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.35e-05/0.8233, allocations: 5.188 kB / 1.216 GB, free: 440 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.367e-06/0.8233, allocations: 0 / 1.216 GB, free: 440 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.8233, allocations: 0.9062 kB / 1.216 GB, free: 440 kB / 0.92 GB Notification: Performance of sorting global known variables: time 6.85e-05/0.8234, allocations: 96.02 kB / 1.217 GB, free: 352 kB / 0.92 GB Notification: Performance of sort global known variables: time 8e-08/0.8234, allocations: 0 / 1.217 GB, free: 352 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002052/0.8236, allocations: 8.422 kB / 1.217 GB, free: 348 kB / 0.92 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.0005256/0.8241, allocations: 0.6103 MB / 1.217 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.157e-05/0.8242, allocations: 13.33 kB / 1.217 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.8242, allocations: 0 / 1.217 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.038e-05/0.8242, allocations: 6.719 kB / 1.217 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.8244, allocations: 1.062 kB / 1.217 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.8255, allocations: 1.115 MB / 1.218 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.8259, allocations: 0.6774 MB / 1.219 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.581e-05/0.8259, allocations: 7.531 kB / 1.219 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.826, allocations: 16.55 kB / 1.219 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of SimCode: time 5.51e-07/0.826, allocations: 0 / 1.219 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/0.8514, allocations: 1.408 MB / 1.22 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.303/9.154, allocations: 7.359 kB / 1.22 GB, free: 13.07 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --stepSize=483.84 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.831562566105276] Failed to read output from testmodel.py, exit status != 0: 9.223898286931217 9.247124262 8.421972031 Calling exit ...