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.0007767/0.0007767, 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.0008321/0.0008321, allocations: 169.9 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.896/0.896, 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.7044/0.7044, allocations: 154.6 MB / 413.8 MB, free: 0.8086 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 1.703e-06/1.703e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.339e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001838/0.001861, allocations: 1.297 MB / 0.6194 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001815/0.003677, allocations: 1.539 MB / 0.6209 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.031e-05/0.003717, allocations: 0 / 0.6209 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.095e-05/0.003738, allocations: 0 / 0.6209 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.003963, allocations: 19.88 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004975/0.00446, allocations: 221.1 kB / 0.6211 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.993e-05/0.00453, allocations: 27.91 kB / 0.6211 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.11e-05/0.004571, allocations: 0 / 0.6211 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.004713, allocations: 31.91 kB / 0.6212 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.707e-05/0.00477, allocations: 3.984 kB / 0.6212 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.004784, allocations: 4 kB / 0.6212 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.005033, allocations: 155.7 kB / 0.6213 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.097e-05/0.005044, allocations: 4 kB / 0.6213 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.015e-05/0.005064, allocations: 7.938 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.005289, allocations: 167.6 kB / 0.6215 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.005292, allocations: 0 / 0.6215 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.623e-06/0.005293, allocations: 0 / 0.6215 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.005299, allocations: 0 / 0.6215 GB, free: 10.2 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.0003248/0.005624, allocations: 290 kB / 0.6218 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.005668, allocations: 12.03 kB / 0.6218 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.407e-05/0.005713, allocations: 106 kB / 0.6219 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.87e-05/0.005771, allocations: 76.22 kB / 0.622 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.00591, allocations: 197 kB / 0.6221 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.165e-05/0.005962, allocations: 158.9 kB / 0.6223 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.169e-05/0.006023, allocations: 154.9 kB / 0.6224 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.747e-05/0.006091, allocations: 109.3 kB / 0.6226 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.006116, allocations: 75.28 kB / 0.6226 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.994e-05/0.006165, allocations: 150.6 kB / 0.6228 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-05/0.006209, allocations: 150.6 kB / 0.6229 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004032/0.006612, allocations: 154.6 kB / 0.6231 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.006852, allocations: 425 kB / 0.6235 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.179e-05/0.006923, allocations: 173.1 kB / 0.6236 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.174e-05/0.006955, allocations: 80.14 kB / 0.6237 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.006986, allocations: 79.28 kB / 0.6238 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/0.007031, allocations: 113.8 kB / 0.6239 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.007032, allocations: 3.938 kB / 0.6239 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 8.411e-05/0.007116, allocations: 33.7 kB / 0.6239 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.007166, allocations: 130.6 kB / 0.6241 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.82e-05/0.007254, allocations: 105.8 kB / 0.6242 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.007264, allocations: 29.64 kB / 0.6242 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.007296, allocations: 80.14 kB / 0.6243 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.007298, allocations: 0 / 0.6243 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.00733, allocations: 25.7 kB / 0.6243 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.54e-05/0.007415, allocations: 310.8 kB / 0.6246 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.26e-05/0.007428, allocations: 12 kB / 0.6246 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.909e-05/0.007487, allocations: 99.67 kB / 0.6247 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.581e-05/0.007523, allocations: 30.52 kB / 0.6247 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.007525, allocations: 0 / 0.6247 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.96e-05/0.007624, allocations: 45.88 kB / 0.6248 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.007639, allocations: 13.97 kB / 0.6248 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.007644, allocations: 0 / 0.6248 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.007655, allocations: 4.094 kB / 0.6248 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.459e-05/0.007719, allocations: 12 kB / 0.6248 GB, free: 6.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.007727, allocations: 7.984 kB / 0.6248 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.326e-05/0.00782, allocations: 7.953 kB / 0.6248 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.007828, allocations: 0 / 0.6248 GB, free: 6.574 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 7.653e-05/0.007905, allocations: 186.1 kB / 0.625 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.007943, allocations: 116.8 kB / 0.6251 GB, free: 6.262 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.007976, allocations: 108.1 kB / 0.6252 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.833e-05/0.008015, allocations: 176.3 kB / 0.6254 GB, free: 5.969 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-05/0.008057, allocations: 180.2 kB / 0.6255 GB, free: 5.785 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-05/0.0081, allocations: 184.3 kB / 0.6257 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.008248, allocations: 384.2 kB / 0.6261 GB, free: 5.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.509e-05/0.008273, allocations: 101 kB / 0.6262 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.561e-05/0.008299, allocations: 101 kB / 0.6263 GB, free: 4.961 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.102e-05/0.00835, allocations: 192.3 kB / 0.6265 GB, free: 4.766 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.406e-05/0.008394, allocations: 176.3 kB / 0.6266 GB, free: 4.586 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-05/0.008438, allocations: 184.2 kB / 0.6268 GB, free: 4.398 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-05/0.008482, allocations: 188.3 kB / 0.627 GB, free: 4.207 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.008583, allocations: 303.8 kB / 0.6273 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.959e-05/0.008613, allocations: 101 kB / 0.6274 GB, free: 3.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.093e-05/0.008673, allocations: 196.1 kB / 0.6275 GB, free: 3.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.124e-05/0.008725, allocations: 101 kB / 0.6276 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.008777, allocations: 184.2 kB / 0.6278 GB, free: 3.289 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.008803, allocations: 105 kB / 0.6279 GB, free: 3.18 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.543e-05/0.008848, allocations: 87.22 kB / 0.628 GB, free: 3.094 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008848, allocations: 0 / 0.628 GB, free: 3.094 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002445/0.009093, allocations: 51.73 kB / 0.6281 GB, free: 3.043 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.0006508/0.009743, allocations: 0.9742 MB / 0.629 GB, free: 2.09 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.005e-05/0.009823, allocations: 19.98 kB / 0.629 GB, free: 2.07 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.009825, allocations: 0 / 0.629 GB, free: 2.07 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.009826, allocations: 0 / 0.629 GB, free: 2.07 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.01007, allocations: 464.8 kB / 0.6295 GB, free: 1.617 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.01124, allocations: 1.345 MB / 0.6308 GB, free: 180 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.994e-05/0.01128, allocations: 55.36 kB / 0.6308 GB, free: 104 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.638e-05/0.01131, allocations: 3.984 kB / 0.6308 GB, free: 100 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.01134, allocations: 16.75 kB / 0.6309 GB, free: 80 kB / 0.5886 GB Notification: Performance of SimCode: time 4.01e-07/0.01134, allocations: 4 kB / 0.6309 GB, free: 76 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.02894, allocations: 3.285 MB / 0.6341 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.679/6.708, allocations: 3.391 kB / 0.6341 GB, free: 12.97 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.366555006243289] Failed to read output from testmodel.py, exit status != 0: 6.8236252488568425 6.836922933 6.829619041 Calling exit ...