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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006199/0.006199, allocations: 98.66 kB / 15.73 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 191.7 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.751/0.751, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 59.91 kB / 0.5814 GB, free: 7.504 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4915/0.4926, allocations: 80.19 MB / 0.6597 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002663/0.4953, allocations: 1.277 MB / 0.6609 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002123/0.4975, allocations: 1.445 MB / 0.6623 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.715e-05/0.4975, allocations: 0 / 0.6623 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.928e-05/0.4976, allocations: 4.75 kB / 0.6623 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.4978, allocations: 16.84 kB / 0.6624 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006796/0.4985, allocations: 214 kB / 0.6626 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.179e-05/0.4986, allocations: 28.02 kB / 0.6626 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.4987, allocations: 2.562 kB / 0.6626 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.585e-05/0.4987, allocations: 18.5 kB / 0.6626 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.4989, allocations: 14.86 kB / 0.6626 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.4989, allocations: 1.094 kB / 0.6626 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002866/0.4992, allocations: 161.9 kB / 0.6628 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.4992, allocations: 13.31 kB / 0.6628 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.232e-05/0.4992, allocations: 8.25 kB / 0.6628 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.4995, allocations: 142.5 kB / 0.6629 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4995, allocations: 4 kB / 0.6629 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4995, allocations: 1.312 kB / 0.6629 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.4995, allocations: 0 / 0.6629 GB, free: 8.164 MB / 0.4981 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.0003368/0.4999, allocations: 370 kB / 0.6633 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.4999, allocations: 9.375 kB / 0.6633 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.412e-05/0.5, allocations: 77.41 kB / 0.6634 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.5001, allocations: 245.9 kB / 0.6636 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.5002, allocations: 159.9 kB / 0.6638 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.77e-05/0.5002, allocations: 157.3 kB / 0.6639 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.627e-05/0.5003, allocations: 106.2 kB / 0.664 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.5003, allocations: 75.28 kB / 0.6641 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.5003, allocations: 150.6 kB / 0.6642 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.077e-05/0.5004, allocations: 152 kB / 0.6644 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.707e-05/0.5004, allocations: 158.6 kB / 0.6645 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001924/0.5006, allocations: 454.2 kB / 0.665 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.178e-05/0.5006, allocations: 174.4 kB / 0.6651 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.5007, allocations: 84.08 kB / 0.6652 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.5007, allocations: 80.75 kB / 0.6653 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.5007, allocations: 105.9 kB / 0.6654 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.5007, allocations: 0 / 0.6654 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.947e-05/0.5008, allocations: 40.69 kB / 0.6654 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.5009, allocations: 130.6 kB / 0.6655 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.319e-05/0.501, allocations: 101 kB / 0.6656 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.501, allocations: 25.7 kB / 0.6657 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.882e-05/0.501, allocations: 93.61 kB / 0.6658 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-06/0.501, allocations: 1.625 kB / 0.6658 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.501, allocations: 18.62 kB / 0.6658 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.021e-05/0.5011, allocations: 312.3 kB / 0.6661 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.435e-05/0.5011, allocations: 5.641 kB / 0.6661 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.06e-05/0.5012, allocations: 28.8 kB / 0.6661 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.234e-05/0.5012, allocations: 31.98 kB / 0.6661 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5012, allocations: 1.156 kB / 0.6661 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001296/0.5014, allocations: 54.19 kB / 0.6662 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.5014, allocations: 5.281 kB / 0.6662 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.5014, allocations: 1.688 kB / 0.6662 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.5014, allocations: 0 / 0.6662 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.805e-05/0.5015, allocations: 12.95 kB / 0.6662 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.5015, allocations: 1.188 kB / 0.6662 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.5017, allocations: 8.125 kB / 0.6662 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.5017, allocations: 2.469 kB / 0.6662 GB, free: 4.66 MB / 0.4981 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.034e-05/0.5018, allocations: 192.2 kB / 0.6664 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.5018, allocations: 110.3 kB / 0.6665 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.5019, allocations: 117.2 kB / 0.6666 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.028e-05/0.5019, allocations: 181.2 kB / 0.6668 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.265e-05/0.5019, allocations: 181.4 kB / 0.667 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.281e-05/0.502, allocations: 181.7 kB / 0.6671 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.5021, allocations: 407.8 kB / 0.6675 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.177e-05/0.5022, allocations: 102 kB / 0.6676 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.031e-05/0.5022, allocations: 110.2 kB / 0.6677 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.213e-05/0.5022, allocations: 181.2 kB / 0.6679 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/0.5023, allocations: 177.3 kB / 0.6681 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.2e-05/0.5023, allocations: 185.3 kB / 0.6682 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.013e-05/0.5023, allocations: 176.3 kB / 0.6684 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.676e-05/0.5024, allocations: 316.3 kB / 0.6687 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.655e-05/0.5025, allocations: 187.3 kB / 0.6689 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.433e-05/0.5025, allocations: 181.2 kB / 0.6691 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.628e-05/0.5026, allocations: 106.2 kB / 0.6692 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.5026, allocations: 181.3 kB / 0.6693 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.5026, allocations: 105 kB / 0.6694 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.056e-05/0.5027, allocations: 84.44 kB / 0.6695 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5027, allocations: 0 / 0.6695 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003106/0.503, allocations: 50.14 kB / 0.6696 GB, free: 1.059 MB / 0.4981 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.0005807/0.5036, allocations: 348.3 kB / 0.6699 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.5037, allocations: 15.64 kB / 0.6699 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5037, allocations: 4.188 kB / 0.6699 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.5037, allocations: 0 / 0.6699 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.504, allocations: 463.7 kB / 0.6704 GB, free: 372 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002267/0.5042, allocations: 167.3 kB / 0.6705 GB, free: 192 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.5046, allocations: 0.6754 MB / 0.6712 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.756e-05/0.5046, allocations: 5.031 kB / 0.6712 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.925e-05/0.5046, allocations: 14.09 kB / 0.6712 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.5046, allocations: 0 / 0.6712 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of Templates: time 0.00431/0.5089, allocations: 1.605 MB / 0.6728 GB, free: 14.66 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (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 & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)