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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8202/0.8202, allocations: 133.6 MB / 141.6 MB, free: 2.859 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.627/1.627, allocations: 221.5 MB / 395.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008772/0.0008771, allocations: 99.58 kB / 478.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.99e-05/2.982e-05, allocations: 8 kB / 0.5536 GB, free: 8.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4051, allocations: 82.31 MB / 0.6339 GB, free: 40.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1448/0.5499, allocations: 113 MB / 0.7443 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.5503, allocations: 91.94 kB / 0.7444 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01633/0.5666, allocations: 5.66 MB / 0.7499 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.525e-06/0.5667, allocations: 0 / 0.7499 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.5667, allocations: 0 / 0.7499 GB, free: 3.957 MB / 0.5261 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.0004984/0.5672, allocations: 370.5 kB / 0.7503 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/0.5673, allocations: 8.031 kB / 0.7503 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.674e-05/0.5674, allocations: 83.19 kB / 0.7503 GB, free: 3.461 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.5676, allocations: 238.3 kB / 0.7506 GB, free: 3.188 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.797e-05/0.5677, allocations: 150.6 kB / 0.7507 GB, free: 3.039 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.457e-05/0.5678, allocations: 158.5 kB / 0.7509 GB, free: 2.883 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.095e-05/0.5678, allocations: 158.5 kB / 0.751 GB, free: 2.727 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.581e-05/0.5679, allocations: 105 kB / 0.7511 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.5679, allocations: 79.27 kB / 0.7512 GB, free: 2.539 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-05/0.568, allocations: 150.6 kB / 0.7513 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-05/0.5681, allocations: 150.6 kB / 0.7515 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.5684, allocations: 442.4 kB / 0.7519 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.679e-05/0.5684, allocations: 177 kB / 0.7521 GB, free: 1.59 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.181e-05/0.5685, allocations: 80.14 kB / 0.7521 GB, free: 1.508 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.5685, allocations: 75.28 kB / 0.7522 GB, free: 1.434 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.5686, allocations: 109.8 kB / 0.7523 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.5686, allocations: 0 / 0.7523 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 8.529e-05/0.5687, allocations: 29.7 kB / 0.7524 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.5687, allocations: 51.41 kB / 0.7524 GB, free: 1.219 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.085e-05/0.5688, allocations: 96.98 kB / 0.7525 GB, free: 1.117 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.5688, allocations: 25.7 kB / 0.7525 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.5689, allocations: 88.14 kB / 0.7526 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.5689, allocations: 0 / 0.7526 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.5689, allocations: 0 / 0.7526 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.569, allocations: 314.8 kB / 0.7529 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.07e-05/0.569, allocations: 3.938 kB / 0.7529 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.356e-05/0.5691, allocations: 30.56 kB / 0.7529 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.5692, allocations: 15.98 kB / 0.753 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.5693, allocations: 0 / 0.753 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002026/0.5695, allocations: 69.56 kB / 0.753 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.5695, allocations: 4 kB / 0.753 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.5695, allocations: 3.984 kB / 0.753 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.5695, allocations: 0 / 0.753 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.869e-05/0.5696, allocations: 8 kB / 0.753 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.5696, allocations: 0 / 0.753 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.476e-05/0.5697, allocations: 8.156 kB / 0.753 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.5697, allocations: 0 / 0.753 GB, free: 0.5234 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.5698, allocations: 186.1 kB / 0.7532 GB, free: 344 kB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.739e-05/0.5699, allocations: 146.5 kB / 0.7534 GB, free: 184 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/0.57, allocations: 105 kB / 0.7535 GB, free: 72 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.687e-05/0.57, allocations: 112.7 kB / 0.7536 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.363e-05/0.5701, allocations: 180.3 kB / 0.7537 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-05/0.5702, allocations: 184.2 kB / 0.7539 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.485e-05/0.5703, allocations: 188.2 kB / 0.7541 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.5705, allocations: 377.8 kB / 0.7545 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.717e-05/0.5705, allocations: 105 kB / 0.7546 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.174e-05/0.5706, allocations: 104.9 kB / 0.7547 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.932e-05/0.5707, allocations: 180.2 kB / 0.7548 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.181e-05/0.5707, allocations: 180.3 kB / 0.755 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.828e-05/0.5708, allocations: 184.2 kB / 0.7552 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.046e-05/0.5709, allocations: 184.2 kB / 0.7553 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.571, allocations: 299.8 kB / 0.7556 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.034e-05/0.5711, allocations: 182.1 kB / 0.7558 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.039e-05/0.5712, allocations: 189.1 kB / 0.756 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.81e-05/0.5713, allocations: 104.9 kB / 0.7561 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/0.5714, allocations: 180.3 kB / 0.7563 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.815e-05/0.5714, allocations: 105 kB / 0.7564 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.379e-05/0.5715, allocations: 83.28 kB / 0.7564 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5715, allocations: 0 / 0.7564 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003984/0.5719, allocations: 59.92 kB / 0.7565 GB, free: 12.77 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008981/0.5728, allocations: 0.9845 MB / 0.7575 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.064e-05/0.5729, allocations: 16.06 kB / 0.7575 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.5729, allocations: 4 kB / 0.7575 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.5729, allocations: 0 / 0.7575 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.5732, allocations: 0.5224 MB / 0.758 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004134/0.5736, allocations: 204.8 kB / 0.7582 GB, free: 11 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.5739, allocations: 0.6768 MB / 0.7588 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.609e-05/0.574, allocations: 3.984 kB / 0.7588 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.574, allocations: 11.44 kB / 0.7589 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of SimCode: time 2.6e-07/0.574, allocations: 3.938 kB / 0.7589 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.349/0.923, allocations: 1.925 MB / 0.7607 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000257/0.9233, allocations: 190.9 kB / 0.7609 GB, free: 8.176 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/2.543, allocations: 0 / 0.7609 GB, free: 8.176 MB / 0.5417 GB (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/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)