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.0007729/0.0007729, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.000822/0.000822, allocations: 222.3 kB / 22.26 MB, free: 3.688 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.9553/0.9553, allocations: 230.6 MB / 256 MB, free: 9.797 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.8117/0.8117, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.001057/0.001057, allocations: 66.2 kB / 0.7182 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5793/0.5803, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001567/0.5819, allocations: 1.313 MB / 0.8192 GB, free: 360 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.5836, allocations: 1.572 MB / 0.8207 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.513e-05/0.5836, allocations: 0 / 0.8207 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.5836, allocations: 5.188 kB / 0.8207 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.5838, allocations: 14.56 kB / 0.8207 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.5843, allocations: 218.2 kB / 0.8209 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.83e-05/0.5844, allocations: 33 kB / 0.8209 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.107e-05/0.5844, allocations: 1.312 kB / 0.8209 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.5845, allocations: 16.53 kB / 0.821 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.808e-05/0.5846, allocations: 26.16 kB / 0.821 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.5846, allocations: 0 / 0.821 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002394/0.5849, allocations: 174.7 kB / 0.8212 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.5849, allocations: 5.062 kB / 0.8212 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.5849, allocations: 6.172 kB / 0.8212 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.5851, allocations: 145.7 kB / 0.8213 GB, free: 15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.5851, allocations: 0 / 0.8213 GB, free: 15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5851, allocations: 0 / 0.8213 GB, free: 15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.5851, allocations: 4 kB / 0.8213 GB, free: 15 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.0003279/0.5855, allocations: 302 kB / 0.8216 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.5855, allocations: 9.031 kB / 0.8216 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.425e-05/0.5856, allocations: 106.7 kB / 0.8217 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.5856, allocations: 77.19 kB / 0.8218 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.5857, allocations: 183.1 kB / 0.822 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.115e-05/0.5858, allocations: 159.5 kB / 0.8221 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.989e-05/0.5858, allocations: 160.3 kB / 0.8223 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.545e-05/0.5859, allocations: 105.5 kB / 0.8224 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.5859, allocations: 75.28 kB / 0.8224 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.039e-05/0.586, allocations: 150.6 kB / 0.8226 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.114e-05/0.586, allocations: 155.2 kB / 0.8227 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.341e-05/0.586, allocations: 154.6 kB / 0.8229 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002207/0.5863, allocations: 427.5 kB / 0.8233 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.553e-05/0.5863, allocations: 173 kB / 0.8234 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.076e-05/0.5864, allocations: 80.14 kB / 0.8235 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.5864, allocations: 81.83 kB / 0.8236 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.5864, allocations: 105.8 kB / 0.8237 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.5864, allocations: 0 / 0.8237 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.102e-05/0.5865, allocations: 34.22 kB / 0.8237 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.5866, allocations: 126.7 kB / 0.8239 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.031e-05/0.5866, allocations: 116.4 kB / 0.824 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.5867, allocations: 29.7 kB / 0.824 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.345e-05/0.5867, allocations: 85.44 kB / 0.8241 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.656e-06/0.5867, allocations: 3.281 kB / 0.8241 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.5867, allocations: 20 kB / 0.8241 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.745e-05/0.5868, allocations: 312.7 kB / 0.8244 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.4e-05/0.5868, allocations: 1.984 kB / 0.8244 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.196e-05/0.5869, allocations: 28.09 kB / 0.8244 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.934e-05/0.5869, allocations: 30.09 kB / 0.8245 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5869, allocations: 0 / 0.8245 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001093/0.587, allocations: 52.53 kB / 0.8245 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.587, allocations: 6.156 kB / 0.8245 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.587, allocations: 3.938 kB / 0.8245 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.5871, allocations: 1.438 kB / 0.8245 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.57e-05/0.5871, allocations: 8.531 kB / 0.8245 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.5871, allocations: 5.281 kB / 0.8245 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.533e-05/0.5872, allocations: 9.125 kB / 0.8245 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.5872, allocations: 7.406 kB / 0.8245 GB, free: 11.61 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.11e-05/0.5873, allocations: 192.2 kB / 0.8247 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.5873, allocations: 112.9 kB / 0.8248 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.5874, allocations: 107.9 kB / 0.8249 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-05/0.5874, allocations: 186.3 kB / 0.8251 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.024e-05/0.5875, allocations: 183.3 kB / 0.8253 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.016e-05/0.5875, allocations: 182.1 kB / 0.8255 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.5877, allocations: 381.3 kB / 0.8258 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.681e-05/0.5877, allocations: 101 kB / 0.8259 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.624e-05/0.5877, allocations: 103.6 kB / 0.826 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.427e-05/0.5878, allocations: 184.2 kB / 0.8262 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.544e-05/0.5878, allocations: 180.7 kB / 0.8264 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.536e-05/0.5878, allocations: 180.9 kB / 0.8265 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.13e-05/0.5879, allocations: 176.9 kB / 0.8267 GB, free: 9.277 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.886e-05/0.588, allocations: 314.1 kB / 0.827 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.932e-05/0.588, allocations: 103.4 kB / 0.8271 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.154e-05/0.5881, allocations: 186.3 kB / 0.8273 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.58e-05/0.5881, allocations: 104 kB / 0.8274 GB, free: 8.555 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.5882, allocations: 177.3 kB / 0.8276 GB, free: 8.375 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.5882, allocations: 113.8 kB / 0.8277 GB, free: 8.258 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.469e-05/0.5882, allocations: 86.47 kB / 0.8277 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5882, allocations: 0 / 0.8277 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002403/0.5885, allocations: 54.38 kB / 0.8278 GB, free: 8.164 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.0006502/0.5891, allocations: 0.9714 MB / 0.8287 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.4e-05/0.5892, allocations: 12.45 kB / 0.8288 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5892, allocations: 0 / 0.8288 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.42e-07/0.5892, allocations: 0 / 0.8288 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.5895, allocations: 456.9 kB / 0.8292 GB, free: 6.852 MB / 0.6198 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008777/0.5903, allocations: 1.36 MB / 0.8305 GB, free: 5.484 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.5905, allocations: 0.6748 MB / 0.8312 GB, free: 4.789 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.532e-05/0.5905, allocations: 4.688 kB / 0.8312 GB, free: 4.785 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.5906, allocations: 13.25 kB / 0.8312 GB, free: 4.773 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.5906, allocations: 6 kB / 0.8312 GB, free: 4.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3753/0.9659, allocations: 2.717 MB / 0.8339 GB, free: 4.211 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.537/7.503, allocations: 5.641 kB / 0.8339 GB, free: 4.207 MB / 0.6198 GB " [Timeout remaining time 640] (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: 24.84948709094897] Failed to read output from testmodel.py, exit status != 0: 20.08998150913976 20.099407579 19.512316805 Calling exit ...