Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.001144/0.001144, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.001347/0.001347, allocations: 212.1 kB / 22.25 MB, free: 3.727 MB / 13.93 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 0.9513/0.9513, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7998/0.7998, allocations: 203.8 MB / 0.5042 GB, free: 10.46 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001052/0.001052, allocations: 68.73 kB / 0.7182 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5173/0.5183, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001693/0.52, allocations: 1.304 MB / 0.8191 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001804/0.5218, allocations: 1.524 MB / 0.8206 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.506e-05/0.5219, allocations: 0.5312 kB / 0.8206 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.071e-05/0.5219, allocations: 0 / 0.8206 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.5221, allocations: 26.94 kB / 0.8206 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005378/0.5227, allocations: 215.9 kB / 0.8208 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.935e-05/0.5228, allocations: 23.59 kB / 0.8208 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.893e-05/0.5228, allocations: 8.109 kB / 0.8208 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.5229, allocations: 23.75 kB / 0.8208 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.16e-05/0.523, allocations: 8.031 kB / 0.8209 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.523, allocations: 1.625 kB / 0.8209 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002605/0.5233, allocations: 154.6 kB / 0.821 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.5233, allocations: 2.625 kB / 0.821 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.628e-05/0.5233, allocations: 9.469 kB / 0.821 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.5235, allocations: 138.8 kB / 0.8211 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5236, allocations: 0.5625 kB / 0.8212 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.435e-06/0.5236, allocations: 0 / 0.8212 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.5236, allocations: 4 kB / 0.8212 GB, free: 14.86 MB / 0.6198 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.000347/0.5239, allocations: 300 kB / 0.8214 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.5239, allocations: 8.406 kB / 0.8214 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.917e-05/0.524, allocations: 111.9 kB / 0.8216 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.524, allocations: 77.59 kB / 0.8216 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.5242, allocations: 187.2 kB / 0.8218 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.128e-05/0.5242, allocations: 152.4 kB / 0.822 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.5242, allocations: 157.7 kB / 0.8221 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.494e-05/0.5243, allocations: 101.9 kB / 0.8222 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.5243, allocations: 75.28 kB / 0.8223 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.03e-05/0.5244, allocations: 160.3 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-05/0.5244, allocations: 154.6 kB / 0.8226 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.165e-05/0.5244, allocations: 160.9 kB / 0.8227 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002231/0.5247, allocations: 422.6 kB / 0.8231 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.84e-05/0.5247, allocations: 171.5 kB / 0.8233 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.582e-05/0.5248, allocations: 80.14 kB / 0.8234 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.5248, allocations: 75.28 kB / 0.8234 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.5248, allocations: 122.9 kB / 0.8236 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.5248, allocations: 0 / 0.8236 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.614e-05/0.5249, allocations: 31.28 kB / 0.8236 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.5249, allocations: 128.2 kB / 0.8237 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.444e-05/0.525, allocations: 112.7 kB / 0.8238 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.525, allocations: 25.7 kB / 0.8238 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.019e-05/0.5251, allocations: 82.92 kB / 0.8239 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.5251, allocations: 0 / 0.8239 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.5251, allocations: 24.69 kB / 0.8239 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.385e-05/0.5252, allocations: 310.8 kB / 0.8242 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.331e-05/0.5252, allocations: 5.906 kB / 0.8242 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-05/0.5252, allocations: 101.6 kB / 0.8243 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.429e-05/0.5253, allocations: 32.14 kB / 0.8244 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.5253, allocations: 0 / 0.8244 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001072/0.5254, allocations: 54.22 kB / 0.8244 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.5254, allocations: 5.344 kB / 0.8244 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.5254, allocations: 0.6094 kB / 0.8244 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.5254, allocations: 2.312 kB / 0.8244 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.828e-05/0.5255, allocations: 5.641 kB / 0.8244 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.5255, allocations: 3.938 kB / 0.8244 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.839e-05/0.5256, allocations: 7.219 kB / 0.8244 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.5256, allocations: 7.406 kB / 0.8245 GB, free: 11.39 MB / 0.6198 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 7.336e-05/0.5257, allocations: 194.4 kB / 0.8246 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.5257, allocations: 113.5 kB / 0.8248 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.165e-05/0.5257, allocations: 116.5 kB / 0.8249 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-05/0.5258, allocations: 177.1 kB / 0.825 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000291/0.5261, allocations: 179.3 kB / 0.8252 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.109e-05/0.5261, allocations: 184.2 kB / 0.8254 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.5263, allocations: 378.8 kB / 0.8257 GB, free: 10 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.78e-05/0.5263, allocations: 106.8 kB / 0.8258 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.391e-05/0.5263, allocations: 103.7 kB / 0.8259 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.266e-05/0.5264, allocations: 180.9 kB / 0.8261 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/0.5264, allocations: 186.9 kB / 0.8263 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.892e-05/0.5265, allocations: 178.6 kB / 0.8265 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.043e-05/0.5265, allocations: 182.8 kB / 0.8266 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.5266, allocations: 306.7 kB / 0.8269 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.128e-05/0.5266, allocations: 113.2 kB / 0.827 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.743e-05/0.5267, allocations: 177.6 kB / 0.8272 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.176e-05/0.5267, allocations: 106.7 kB / 0.8273 GB, free: 8.332 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.5268, allocations: 183.8 kB / 0.8275 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.5268, allocations: 101.5 kB / 0.8276 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.649e-05/0.5268, allocations: 88.47 kB / 0.8277 GB, free: 7.961 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5268, allocations: 7.875 kB / 0.8277 GB, free: 7.953 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002469/0.5271, allocations: 52.91 kB / 0.8277 GB, free: 7.941 MB / 0.6198 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.000629/0.5277, allocations: 0.965 MB / 0.8287 GB, free: 7.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.65e-05/0.5278, allocations: 12.39 kB / 0.8287 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5278, allocations: 0 / 0.8287 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.5278, allocations: 2.422 kB / 0.8287 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.5281, allocations: 459 kB / 0.8291 GB, free: 6.637 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009567/0.529, allocations: 1.362 MB / 0.8304 GB, free: 5.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.95e-05/0.5291, allocations: 56.47 kB / 0.8305 GB, free: 5.199 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.058e-05/0.5291, allocations: 3.547 kB / 0.8305 GB, free: 5.199 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.5291, allocations: 10.5 kB / 0.8305 GB, free: 5.191 MB / 0.6198 GB Notification: Performance of SimCode: time 1.032e-06/0.5291, allocations: 0 / 0.8305 GB, free: 5.191 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.5513, allocations: 3.139 MB / 0.8336 GB, free: 4.191 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.692/7.243, allocations: 12.78 kB / 0.8336 GB, free: 4.184 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.304144718684256] Failed to read output from testmodel.py, exit status != 0: 7.361592439934611 7.378364607 6.851082242 Calling exit ...