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.005488/0.005488, allocations: 99.8 kB / 15.73 MB, free: 6.496 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.001456/0.001456, allocations: 199 kB / 16.68 MB, free: 6.375 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.54/1.54, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9477/0.9477, allocations: 132.2 MB / 422.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 59.91 kB / 0.5814 GB, free: 7.531 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4531/0.4544, allocations: 80.21 MB / 0.6597 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002334/0.4568, allocations: 1.271 MB / 0.6609 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002229/0.459, allocations: 1.444 MB / 0.6623 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/0.4591, allocations: 0 / 0.6623 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.4591, allocations: 4.688 kB / 0.6623 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.4593, allocations: 13.11 kB / 0.6624 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005627/0.4599, allocations: 219.3 kB / 0.6626 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.264e-05/0.4599, allocations: 30.89 kB / 0.6626 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.46, allocations: 2.219 kB / 0.6626 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.213e-05/0.4601, allocations: 19.09 kB / 0.6626 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.4602, allocations: 11.52 kB / 0.6626 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.4602, allocations: 0 / 0.6626 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/0.4605, allocations: 168.7 kB / 0.6628 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.4605, allocations: 11.73 kB / 0.6628 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.4605, allocations: 9.312 kB / 0.6628 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.4608, allocations: 142.1 kB / 0.6629 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4608, allocations: 5.562 kB / 0.6629 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4608, allocations: 0 / 0.6629 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.4608, allocations: 0 / 0.6629 GB, free: 8.371 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.0002818/0.4611, allocations: 366.4 kB / 0.6633 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.4611, allocations: 8.875 kB / 0.6633 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.32e-05/0.4612, allocations: 90.86 kB / 0.6634 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.4613, allocations: 241 kB / 0.6636 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.4614, allocations: 156.5 kB / 0.6638 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.4614, allocations: 158 kB / 0.6639 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.374e-05/0.4614, allocations: 101 kB / 0.664 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.4615, allocations: 75.28 kB / 0.6641 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.4615, allocations: 158.5 kB / 0.6642 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.4615, allocations: 152.2 kB / 0.6644 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.461e-05/0.4615, allocations: 150.6 kB / 0.6645 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000205/0.4618, allocations: 454.6 kB / 0.665 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.672e-05/0.4618, allocations: 174.6 kB / 0.6651 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.842e-05/0.4618, allocations: 84.08 kB / 0.6652 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.4618, allocations: 79.22 kB / 0.6653 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.4619, allocations: 107.5 kB / 0.6654 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 2.004e-06/0.4619, allocations: 3.984 kB / 0.6654 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 9.04e-05/0.462, allocations: 31.33 kB / 0.6654 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.462, allocations: 132.3 kB / 0.6655 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.124e-05/0.4621, allocations: 104.1 kB / 0.6656 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.4621, allocations: 29.7 kB / 0.6657 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.813e-05/0.4621, allocations: 86.06 kB / 0.6658 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.4622, allocations: 0 / 0.6658 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.4622, allocations: 24.39 kB / 0.6658 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.298e-05/0.4622, allocations: 310.8 kB / 0.6661 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.408e-05/0.4623, allocations: 2.969 kB / 0.6661 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.491e-05/0.4623, allocations: 37.12 kB / 0.6661 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.631e-05/0.4624, allocations: 22.64 kB / 0.6661 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4624, allocations: 0.9688 kB / 0.6661 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001204/0.4625, allocations: 58.53 kB / 0.6662 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.4625, allocations: 6.125 kB / 0.6662 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4625, allocations: 0 / 0.6662 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.4625, allocations: 1.188 kB / 0.6662 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.127e-05/0.4626, allocations: 9.312 kB / 0.6662 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4626, allocations: 1.312 kB / 0.6662 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.4628, allocations: 11.58 kB / 0.6662 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.4628, allocations: 10.12 kB / 0.6662 GB, free: 4.867 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 6.731e-05/0.4629, allocations: 195.3 kB / 0.6664 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.4629, allocations: 106.2 kB / 0.6665 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.838e-05/0.463, allocations: 113.7 kB / 0.6666 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.751e-05/0.463, allocations: 184.2 kB / 0.6668 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.041e-05/0.463, allocations: 181 kB / 0.667 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.842e-05/0.4631, allocations: 177.4 kB / 0.6671 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.4632, allocations: 412.8 kB / 0.6675 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/0.4632, allocations: 104.9 kB / 0.6676 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.867e-05/0.4632, allocations: 101.9 kB / 0.6677 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.734e-05/0.4633, allocations: 181.3 kB / 0.6679 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.4633, allocations: 177.4 kB / 0.6681 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.748e-05/0.4633, allocations: 181.2 kB / 0.6683 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.771e-05/0.4634, allocations: 185.3 kB / 0.6684 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.076e-05/0.4635, allocations: 312 kB / 0.6687 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/0.4635, allocations: 183.4 kB / 0.6689 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.4635, allocations: 177.7 kB / 0.6691 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.076e-05/0.4636, allocations: 112.9 kB / 0.6692 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.4637, allocations: 177.6 kB / 0.6693 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.4637, allocations: 106.2 kB / 0.6694 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.611e-05/0.4637, allocations: 83.48 kB / 0.6695 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.4637, allocations: 0 / 0.6695 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003312/0.4641, allocations: 50.3 kB / 0.6696 GB, free: 1.277 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.0005601/0.4646, allocations: 349.7 kB / 0.6699 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.636e-05/0.4647, allocations: 7.5 kB / 0.6699 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4647, allocations: 0 / 0.6699 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.795e-06/0.4647, allocations: 3.938 kB / 0.6699 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.465, allocations: 462.3 kB / 0.6704 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002373/0.4653, allocations: 177.1 kB / 0.6705 GB, free: 412 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.4655, allocations: 0.6754 MB / 0.6712 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.092e-05/0.4655, allocations: 1.375 kB / 0.6712 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.45e-05/0.4656, allocations: 8.719 kB / 0.6712 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.4656, allocations: 1.438 kB / 0.6712 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.004566/0.4701, allocations: 1.615 MB / 0.6728 GB, free: 14.87 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)