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.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.001083/0.001083, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001261/0.001261, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9429/0.9429, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7448/0.7448, allocations: 154.6 MB / 413.8 MB, free: 0.7812 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.287e-06/3.287e-06, allocations: 3.984 kB / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.474e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002036/0.002061, allocations: 1.29 MB / 0.6194 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001795/0.003856, allocations: 1.547 MB / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-05/0.003895, allocations: 0 / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.917e-05/0.003914, allocations: 0 / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.00416, allocations: 7.938 kB / 0.6209 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005148/0.004675, allocations: 221.3 kB / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.465e-05/0.004749, allocations: 19.92 kB / 0.6211 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.004792, allocations: 4 kB / 0.6211 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.004964, allocations: 35.83 kB / 0.6212 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.922e-05/0.005033, allocations: 8 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.005048, allocations: 4 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.005276, allocations: 147.8 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.022e-05/0.005287, allocations: 0 / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.135e-05/0.005308, allocations: 11.94 kB / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.005517, allocations: 167.6 kB / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.00552, allocations: 0 / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.423e-06/0.005521, allocations: 0 / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.005526, allocations: 0 / 0.6215 GB, free: 10.14 MB / 0.5886 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.0002942/0.005821, allocations: 303.9 kB / 0.6218 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.00586, allocations: 8.031 kB / 0.6218 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.925e-05/0.00591, allocations: 106 kB / 0.6219 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.485e-05/0.005964, allocations: 84.22 kB / 0.622 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.006084, allocations: 185 kB / 0.6222 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.215e-05/0.006126, allocations: 154.9 kB / 0.6223 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.006171, allocations: 158.9 kB / 0.6225 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.997e-05/0.006231, allocations: 105.3 kB / 0.6226 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.006253, allocations: 75.28 kB / 0.6226 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.847e-05/0.006291, allocations: 150.6 kB / 0.6228 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.561e-05/0.006327, allocations: 154.5 kB / 0.6229 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.423e-05/0.006371, allocations: 162.4 kB / 0.6231 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002227/0.006594, allocations: 425 kB / 0.6235 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.213e-05/0.006676, allocations: 181.2 kB / 0.6236 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.396e-05/0.00671, allocations: 80.14 kB / 0.6237 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.006735, allocations: 75.28 kB / 0.6238 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.006776, allocations: 113.7 kB / 0.6239 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.006777, allocations: 0 / 0.6239 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 7.482e-05/0.006852, allocations: 29.7 kB / 0.6239 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.006901, allocations: 130.6 kB / 0.6241 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.294e-05/0.006994, allocations: 105.8 kB / 0.6242 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.007008, allocations: 25.7 kB / 0.6242 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.007049, allocations: 92.12 kB / 0.6243 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.007052, allocations: 0 / 0.6243 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.007082, allocations: 21.7 kB / 0.6243 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.584e-05/0.007178, allocations: 314.8 kB / 0.6246 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.43e-05/0.007192, allocations: 4 kB / 0.6246 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.777e-05/0.00726, allocations: 107.7 kB / 0.6247 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.803e-05/0.007298, allocations: 22.52 kB / 0.6247 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.0073, allocations: 0 / 0.6247 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001185/0.007418, allocations: 53.62 kB / 0.6248 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.007433, allocations: 12.03 kB / 0.6248 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.007439, allocations: 0 / 0.6248 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.007453, allocations: 0 / 0.6248 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.251e-05/0.007525, allocations: 11.98 kB / 0.6248 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.007532, allocations: 3.938 kB / 0.6248 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.839e-05/0.00763, allocations: 7.953 kB / 0.6248 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.007641, allocations: 4 kB / 0.6248 GB, free: 6.508 MB / 0.5886 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 8.16e-05/0.007723, allocations: 186.1 kB / 0.625 GB, free: 6.316 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.007766, allocations: 112.9 kB / 0.6251 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.909e-05/0.007806, allocations: 112.1 kB / 0.6252 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-05/0.007851, allocations: 176.3 kB / 0.6254 GB, free: 5.902 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.61e-05/0.007897, allocations: 180.3 kB / 0.6255 GB, free: 5.719 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-05/0.007949, allocations: 184.2 kB / 0.6257 GB, free: 5.531 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.008108, allocations: 372.3 kB / 0.6261 GB, free: 5.117 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.329e-05/0.008141, allocations: 104.9 kB / 0.6262 GB, free: 5.008 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.925e-05/0.00817, allocations: 113 kB / 0.6263 GB, free: 4.891 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.848e-05/0.008219, allocations: 180.2 kB / 0.6265 GB, free: 4.707 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-05/0.008271, allocations: 180.2 kB / 0.6266 GB, free: 4.523 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.724e-05/0.008319, allocations: 180.3 kB / 0.6268 GB, free: 4.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.975e-05/0.008368, allocations: 184.2 kB / 0.627 GB, free: 4.152 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.008523, allocations: 307.8 kB / 0.6273 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.008579, allocations: 109.2 kB / 0.6274 GB, free: 3.715 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.645e-05/0.008665, allocations: 184.1 kB / 0.6275 GB, free: 3.527 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.711e-05/0.008732, allocations: 112.9 kB / 0.6277 GB, free: 3.41 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.008796, allocations: 184.2 kB / 0.6278 GB, free: 3.223 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.008825, allocations: 101 kB / 0.6279 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.587e-05/0.008871, allocations: 83.28 kB / 0.628 GB, free: 3.035 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008871, allocations: 3.938 kB / 0.628 GB, free: 3.031 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002495/0.00912, allocations: 55.8 kB / 0.6281 GB, free: 2.977 MB / 0.5886 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.0006934/0.009814, allocations: 0.9904 MB / 0.629 GB, free: 2.016 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.309e-05/0.009897, allocations: 7.938 kB / 0.629 GB, free: 2.008 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.009899, allocations: 0 / 0.629 GB, free: 2.008 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.42e-07/0.0099, allocations: 0 / 0.629 GB, free: 2.008 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.01016, allocations: 459.7 kB / 0.6295 GB, free: 1.555 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009135/0.01108, allocations: 1.341 MB / 0.6308 GB, free: 120 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.956e-05/0.01112, allocations: 59.59 kB / 0.6308 GB, free: 40 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.374e-05/0.01114, allocations: 8.031 kB / 0.6308 GB, free: 32 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.01117, allocations: 12.5 kB / 0.6309 GB, free: 16 kB / 0.5886 GB Notification: Performance of SimCode: time 8.92e-07/0.01118, allocations: 0 / 0.6309 GB, free: 16 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/0.02899, allocations: 3.279 MB / 0.6341 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.792/6.821, allocations: 4.062 kB / 0.6341 GB, free: 12.91 MB / 0.6042 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.815341915003955] Failed to read output from testmodel.py, exit status != 0: 6.9415048798546195 6.953745706 6.946149344 Calling exit ...