Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.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.001679/0.001679, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002063/0.002063, allocations: 215.5 kB / 22.25 MB, free: 5.082 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.449/1.449, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002608/0.002608, allocations: 286 kB / 312.7 MB, free: 2.824 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.225/1.225, allocations: 180.6 MB / 0.5369 GB, free: 12.98 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002883/0.002883, allocations: 103.3 kB / 0.7396 GB, free: 28.53 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.2004, allocations: 95.39 MB / 0.8327 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.002713/0.2032, allocations: 1.389 MB / 0.8341 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001911/0.2034, allocations: 39.81 kB / 0.8341 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.547e-05/0.2034, allocations: 3.938 kB / 0.8341 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.2036, allocations: 7.938 kB / 0.8341 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.2037, allocations: 15.92 kB / 0.8341 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.657e-06/0.2037, allocations: 0 / 0.8341 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.168e-05/0.2038, allocations: 19.86 kB / 0.8342 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.2038, allocations: 0 / 0.8342 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.399e-05/0.2039, allocations: 19.92 kB / 0.8342 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.652e-05/0.2039, allocations: 7.984 kB / 0.8342 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.2039, allocations: 0 / 0.8342 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.257e-05/0.204, allocations: 8 kB / 0.8342 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.633e-05/0.204, allocations: 11.88 kB / 0.8342 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.2041, allocations: 7.938 kB / 0.8342 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.2042, allocations: 28.12 kB / 0.8342 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2042, allocations: 0 / 0.8342 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2042, allocations: 4 kB / 0.8342 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.2042, allocations: 0 / 0.8342 GB, free: 7.09 MB / 0.5762 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.0003755/0.2046, allocations: 258.2 kB / 0.8345 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.2046, allocations: 9.344 kB / 0.8345 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.655e-05/0.2047, allocations: 30.75 kB / 0.8345 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.49e-05/0.2047, allocations: 4.938 kB / 0.8345 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.2049, allocations: 118.5 kB / 0.8346 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.741e-06/0.2049, allocations: 384 / 0.8347 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.2049, allocations: 384 / 0.8347 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.205, allocations: 38.25 kB / 0.8347 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.205, allocations: 3.938 kB / 0.8347 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.205, allocations: 4 kB / 0.8347 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.205, allocations: 0 / 0.8347 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.763e-05/0.2051, allocations: 11.94 kB / 0.8347 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002821/0.2053, allocations: 208 kB / 0.8349 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.25e-05/0.2054, allocations: 18.52 kB / 0.8349 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.174e-05/0.2054, allocations: 12.92 kB / 0.8349 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.2054, allocations: 3.984 kB / 0.8349 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.2055, allocations: 38.5 kB / 0.835 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.2055, allocations: 3.938 kB / 0.835 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001604/0.2056, allocations: 41.64 kB / 0.835 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.2057, allocations: 51.41 kB / 0.8351 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.2058, allocations: 113.8 kB / 0.8352 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.2058, allocations: 25.7 kB / 0.8352 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.803e-05/0.2058, allocations: 84.14 kB / 0.8353 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.2058, allocations: 8.125 kB / 0.8353 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.2059, allocations: 9.719 kB / 0.8353 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.206, allocations: 318.8 kB / 0.8356 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.117e-05/0.206, allocations: 0 / 0.8356 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.693e-06/0.206, allocations: 0 / 0.8356 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.808e-05/0.2061, allocations: 16.8 kB / 0.8356 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.2061, allocations: 3.938 kB / 0.8356 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.595e-05/0.2061, allocations: 41.66 kB / 0.8357 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.2062, allocations: 13.89 kB / 0.8357 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2062, allocations: 4 kB / 0.8357 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2062, allocations: 0 / 0.8357 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.513e-05/0.2062, allocations: 0 / 0.8357 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2062, allocations: 320 / 0.8357 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.283e-05/0.2062, allocations: 0 / 0.8357 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.2062, allocations: 4 kB / 0.8357 GB, free: 5.426 MB / 0.5762 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.286e-05/0.2063, allocations: 110.4 kB / 0.8358 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.2064, allocations: 4 kB / 0.8358 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.74e-05/0.2064, allocations: 49.09 kB / 0.8358 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2065, allocations: 0 / 0.8358 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2065, allocations: 0 / 0.8358 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/0.2065, allocations: 4 kB / 0.8358 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.2066, allocations: 128.7 kB / 0.836 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2066, allocations: 0 / 0.836 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.691e-05/0.2066, allocations: 3.984 kB / 0.836 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.2066, allocations: 4 kB / 0.836 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.2067, allocations: 4 kB / 0.836 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.2067, allocations: 3.984 kB / 0.836 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2067, allocations: 4.031 kB / 0.836 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.2068, allocations: 139.4 kB / 0.8361 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.2068, allocations: 0 / 0.8361 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.2068, allocations: 3.938 kB / 0.8361 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.164e-05/0.2068, allocations: 4 kB / 0.8361 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.709e-05/0.2068, allocations: 3.984 kB / 0.8361 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.2069, allocations: 0 / 0.8361 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.109e-05/0.2069, allocations: 95.3 kB / 0.8362 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2069, allocations: 0 / 0.8362 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002209/0.2071, allocations: 7.938 kB / 0.8362 GB, free: 4.789 MB / 0.5762 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.0005353/0.2077, allocations: 0.692 MB / 0.8369 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.235e-05/0.2078, allocations: 7.938 kB / 0.8369 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2078, allocations: 0 / 0.8369 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.659e-06/0.2078, allocations: 4 kB / 0.8369 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.208, allocations: 0 / 0.8369 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.2092, allocations: 1.188 MB / 0.8381 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.2095, allocations: 0.6807 MB / 0.8387 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.404e-05/0.2096, allocations: 4 kB / 0.8387 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.2096, allocations: 7.438 kB / 0.8387 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/0.2096, allocations: 0 / 0.8387 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02876/0.2384, allocations: 1.512 MB / 0.8402 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.27, allocations: 4.703 kB / 0.8402 GB, free: 0.6992 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.45764537807554] Failed to read output from testmodel.py, exit status != 0: 11.365657552843913 11.382802543 11.175102792 Calling exit ...