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.000765/0.000765, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008759/0.0008759, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8556/0.8556, 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 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.6917/0.6917, allocations: 154.5 MB / 413.7 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.171e-05, allocations: 4.031 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001906/0.001928, allocations: 1.296 MB / 0.6193 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.0035, allocations: 1.535 MB / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.264e-05/0.003532, allocations: 4 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.71e-05/0.003549, allocations: 0 / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.003765, allocations: 23.84 kB / 0.6209 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005218/0.004287, allocations: 210.7 kB / 0.6211 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.098e-05/0.004368, allocations: 27.86 kB / 0.6211 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.762e-05/0.004415, allocations: 4 kB / 0.6211 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.00456, allocations: 23.97 kB / 0.6211 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.615e-05/0.004616, allocations: 4 kB / 0.6211 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.004628, allocations: 3.938 kB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.004869, allocations: 155.7 kB / 0.6213 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.004883, allocations: 7.984 kB / 0.6213 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.135e-05/0.004904, allocations: 7.984 kB / 0.6213 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.005117, allocations: 167.5 kB / 0.6214 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.005122, allocations: 7.984 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.252e-06/0.005124, allocations: 0 / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.005129, allocations: 0 / 0.6214 GB, free: 10.23 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.0002807/0.005409, allocations: 289.9 kB / 0.6217 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.00545, allocations: 13.45 kB / 0.6217 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.005489, allocations: 106 kB / 0.6218 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.00554, allocations: 80.22 kB / 0.6219 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.005651, allocations: 185 kB / 0.6221 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.254e-05/0.005694, allocations: 158.9 kB / 0.6222 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.005734, allocations: 154.9 kB / 0.6224 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.252e-05/0.005787, allocations: 105.3 kB / 0.6225 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.005807, allocations: 79.22 kB / 0.6226 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.691e-05/0.005843, allocations: 150.6 kB / 0.6227 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.591e-05/0.005879, allocations: 154.5 kB / 0.6229 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.661e-05/0.005916, allocations: 154.6 kB / 0.623 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002204/0.006136, allocations: 425 kB / 0.6234 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.898e-05/0.006205, allocations: 169.2 kB / 0.6236 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.506e-05/0.00623, allocations: 88.08 kB / 0.6237 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.00625, allocations: 79.28 kB / 0.6237 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.006287, allocations: 117.7 kB / 0.6238 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.006287, allocations: 0 / 0.6238 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 6.66e-05/0.006354, allocations: 29.7 kB / 0.6239 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.0064, allocations: 126.7 kB / 0.624 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.684e-05/0.006487, allocations: 105.8 kB / 0.6241 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.0065, allocations: 29.7 kB / 0.6241 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.268e-05/0.006533, allocations: 80.14 kB / 0.6242 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.006536, allocations: 0 / 0.6242 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.006566, allocations: 21.72 kB / 0.6242 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.074e-05/0.006647, allocations: 322.8 kB / 0.6245 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.201e-05/0.006659, allocations: 4 kB / 0.6245 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.02e-05/0.006719, allocations: 103.9 kB / 0.6246 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.432e-05/0.006753, allocations: 22.56 kB / 0.6247 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.006756, allocations: 4 kB / 0.6247 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001078/0.006864, allocations: 45.64 kB / 0.6247 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.006881, allocations: 19.86 kB / 0.6247 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.006887, allocations: 8.031 kB / 0.6247 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.0069, allocations: 0 / 0.6247 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.505e-05/0.006965, allocations: 4 kB / 0.6247 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.006969, allocations: 4 kB / 0.6247 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.007073, allocations: 7.953 kB / 0.6247 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.007083, allocations: 7.984 kB / 0.6247 GB, free: 6.613 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.264e-05/0.007165, allocations: 186.1 kB / 0.6249 GB, free: 6.422 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.755e-05/0.007203, allocations: 108.9 kB / 0.625 GB, free: 6.309 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.567e-05/0.007239, allocations: 108.1 kB / 0.6251 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.839e-05/0.007277, allocations: 184.3 kB / 0.6253 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.245e-05/0.007319, allocations: 188.2 kB / 0.6255 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-05/0.007361, allocations: 176.3 kB / 0.6257 GB, free: 5.633 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.007494, allocations: 376.3 kB / 0.626 GB, free: 5.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-05/0.007516, allocations: 104.9 kB / 0.6261 GB, free: 5.105 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.301e-05/0.007539, allocations: 101 kB / 0.6262 GB, free: 5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.922e-05/0.007579, allocations: 188.1 kB / 0.6264 GB, free: 4.809 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.868e-05/0.007617, allocations: 176.3 kB / 0.6266 GB, free: 4.629 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-05/0.007655, allocations: 180.3 kB / 0.6267 GB, free: 4.445 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.903e-05/0.007694, allocations: 188.2 kB / 0.6269 GB, free: 4.254 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.54e-05/0.00778, allocations: 303.8 kB / 0.6272 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.007808, allocations: 109 kB / 0.6273 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.609e-05/0.007854, allocations: 184.2 kB / 0.6275 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.743e-05/0.007901, allocations: 104.9 kB / 0.6276 GB, free: 3.523 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.007945, allocations: 184.3 kB / 0.6278 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.007974, allocations: 104.9 kB / 0.6279 GB, free: 3.227 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.777e-05/0.008012, allocations: 83.27 kB / 0.6279 GB, free: 3.145 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.21e-07/0.008012, allocations: 3.938 kB / 0.6279 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002254/0.008237, allocations: 51.81 kB / 0.628 GB, free: 3.09 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.0006253/0.008863, allocations: 0.9915 MB / 0.629 GB, free: 2.125 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.157e-05/0.008944, allocations: 15.94 kB / 0.629 GB, free: 2.109 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008946, allocations: 0 / 0.629 GB, free: 2.109 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.008947, allocations: 0 / 0.629 GB, free: 2.109 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.009206, allocations: 455.7 kB / 0.6294 GB, free: 1.66 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007468/0.009953, allocations: 1.345 MB / 0.6307 GB, free: 224 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.982e-05/0.009992, allocations: 59.34 kB / 0.6308 GB, free: 144 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.397e-05/0.01002, allocations: 4.281 kB / 0.6308 GB, free: 140 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.01004, allocations: 16.5 kB / 0.6308 GB, free: 120 kB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/0.01004, allocations: 0 / 0.6308 GB, free: 120 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01581/0.02585, allocations: 3.288 MB / 0.634 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.639/6.665, allocations: 14.69 kB / 0.634 GB, free: 13.02 MB / 0.6042 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 9.206257767044008] Failed to read output from testmodel.py, exit status != 0: 6.781791356392205 6.789932822 6.783045374 Calling exit ...