Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.001844/0.001844, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.003216/0.003216, allocations: 192.5 kB / 22.23 MB, free: 5.156 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.544/1.544, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9701/0.9701, allocations: 134 MB / 440.3 MB, free: 200 kB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 68.42 kB / 0.6108 GB, free: 13.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1941, allocations: 84.71 MB / 0.6935 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002459/0.1966, allocations: 1.285 MB / 0.6947 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002557/0.1991, allocations: 1.539 MB / 0.6962 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.205e-05/0.1992, allocations: 0 / 0.6962 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.1992, allocations: 15.92 kB / 0.6963 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.1994, allocations: 11.94 kB / 0.6963 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006431/0.2001, allocations: 215 kB / 0.6965 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.931e-05/0.2002, allocations: 27.91 kB / 0.6965 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.2002, allocations: 3.938 kB / 0.6965 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.043e-05/0.2003, allocations: 23.92 kB / 0.6965 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.2004, allocations: 11.92 kB / 0.6965 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.2004, allocations: 0 / 0.6965 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003085/0.2008, allocations: 167.9 kB / 0.6967 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.2008, allocations: 3.984 kB / 0.6967 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.145e-05/0.2008, allocations: 15.88 kB / 0.6967 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.2011, allocations: 147.6 kB / 0.6969 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2011, allocations: 4 kB / 0.6969 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2011, allocations: 0 / 0.6969 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.2011, allocations: 0 / 0.6969 GB, free: 5.516 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004249/0.2015, allocations: 297.9 kB / 0.6971 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.2016, allocations: 8.031 kB / 0.6972 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.584e-05/0.2016, allocations: 84.22 kB / 0.6972 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.2018, allocations: 193.7 kB / 0.6974 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.37e-05/0.2019, allocations: 158.9 kB / 0.6976 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.796e-05/0.202, allocations: 158.7 kB / 0.6977 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.414e-05/0.202, allocations: 101 kB / 0.6978 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.099e-05/0.2021, allocations: 79.22 kB / 0.6979 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.629e-05/0.2022, allocations: 150.6 kB / 0.698 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.673e-05/0.2022, allocations: 150.6 kB / 0.6982 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.208e-05/0.2023, allocations: 154.6 kB / 0.6983 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.2027, allocations: 429 kB / 0.6987 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.2028, allocations: 169.1 kB / 0.6989 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.86e-05/0.2028, allocations: 92.02 kB / 0.699 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.252e-05/0.2029, allocations: 79.28 kB / 0.6991 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.763e-05/0.203, allocations: 109.8 kB / 0.6992 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 2.013e-06/0.203, allocations: 0 / 0.6992 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 9.178e-05/0.203, allocations: 29.7 kB / 0.6992 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.965e-05/0.2031, allocations: 126.7 kB / 0.6993 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.2033, allocations: 109.8 kB / 0.6994 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.2033, allocations: 25.7 kB / 0.6994 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/0.2033, allocations: 88.09 kB / 0.6995 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.2033, allocations: 0 / 0.6995 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.2034, allocations: 21.72 kB / 0.6996 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2035, allocations: 318.8 kB / 0.6999 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.17e-05/0.2035, allocations: 0 / 0.6999 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-05/0.2036, allocations: 26.58 kB / 0.6999 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.937e-05/0.2036, allocations: 26.56 kB / 0.6999 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2036, allocations: 0 / 0.6999 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001388/0.2038, allocations: 57.52 kB / 0.7 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2038, allocations: 4 kB / 0.7 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2038, allocations: 3.938 kB / 0.7 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.2038, allocations: 7.984 kB / 0.7 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.841e-05/0.2039, allocations: 4.094 kB / 0.7 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.2039, allocations: 4 kB / 0.7 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.204, allocations: 8 kB / 0.7 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.2041, allocations: 7.984 kB / 0.7 GB, free: 2.09 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.000119/0.2042, allocations: 181.1 kB / 0.7002 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-05/0.2043, allocations: 112.9 kB / 0.7003 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.428e-05/0.2043, allocations: 108.1 kB / 0.7004 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.83e-05/0.2044, allocations: 188.3 kB / 0.7006 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.875e-05/0.2045, allocations: 188.2 kB / 0.7007 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.64e-05/0.2046, allocations: 176.3 kB / 0.7009 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.2048, allocations: 376.5 kB / 0.7013 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.544e-05/0.2049, allocations: 108.9 kB / 0.7014 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.642e-05/0.205, allocations: 109 kB / 0.7015 GB, free: 480 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.411e-05/0.2051, allocations: 180.2 kB / 0.7017 GB, free: 292 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.442e-05/0.2051, allocations: 180.3 kB / 0.7018 GB, free: 104 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001061/0.2053, allocations: 176.3 kB / 0.702 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-05/0.2053, allocations: 188.2 kB / 0.7022 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.2055, allocations: 307.7 kB / 0.7025 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-05/0.2056, allocations: 104.9 kB / 0.7026 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.995e-05/0.2057, allocations: 188.2 kB / 0.7027 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.629e-05/0.2058, allocations: 104.9 kB / 0.7028 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.541e-05/0.2058, allocations: 176.3 kB / 0.703 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.368e-05/0.2059, allocations: 112.9 kB / 0.7031 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.875e-05/0.206, allocations: 87.28 kB / 0.7032 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.206, allocations: 0 / 0.7032 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003501/0.2063, allocations: 47.8 kB / 0.7032 GB, free: 14.57 MB / 0.5294 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 (0): * Single equations (assignments): 0 * 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.000735/0.207, allocations: 344.1 kB / 0.7036 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000111/0.2071, allocations: 11.98 kB / 0.7036 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.2072, allocations: 4.188 kB / 0.7036 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.2072, allocations: 3.938 kB / 0.7036 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.2076, allocations: 462.3 kB / 0.704 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.2079, allocations: 169.4 kB / 0.7042 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.2082, allocations: 0.6729 MB / 0.7049 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.829e-05/0.2082, allocations: 8 kB / 0.7049 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.621e-05/0.2082, allocations: 7.438 kB / 0.7049 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.2082, allocations: 0 / 0.7049 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of Templates: time 0.00513/0.2133, allocations: 1.616 MB / 0.7064 GB, free: 11.3 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 660] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.051838736049831] Failed to read output from testmodel.py, exit status != 0: 0.22169400472193956 0.236816096 0.032664724 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fc70a4dd7b0>