Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001329/0.001329, allocations: 106.6 kB / 16.41 MB, free: 6.508 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.001197/0.001197, allocations: 187 kB / 17.34 MB, free: 5.742 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002203/0.002203, allocations: 282.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9276/0.9276, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003009/0.003009, allocations: 99.84 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.542/0.545, allocations: 86.98 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002523/0.5476, allocations: 1.264 MB / 0.7683 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002232/0.5499, allocations: 1.442 MB / 0.7697 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.389e-05/0.5499, allocations: 4 kB / 0.7697 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.469e-05/0.5499, allocations: 0 / 0.7697 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.5502, allocations: 15.92 kB / 0.7697 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006792/0.5509, allocations: 223.8 kB / 0.7699 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.889e-05/0.551, allocations: 27.86 kB / 0.77 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.551, allocations: 4 kB / 0.77 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.299e-05/0.5511, allocations: 23.92 kB / 0.77 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.5512, allocations: 7.984 kB / 0.77 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.5512, allocations: 0 / 0.77 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003101/0.5516, allocations: 167.8 kB / 0.7702 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.579e-05/0.5516, allocations: 7.922 kB / 0.7702 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.5516, allocations: 12 kB / 0.7702 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.5519, allocations: 147.3 kB / 0.7703 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.5519, allocations: 0 / 0.7703 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5519, allocations: 0 / 0.7703 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.5519, allocations: 0 / 0.7703 GB, free: 0.5742 MB / 0.5294 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.0003914/0.5523, allocations: 371.4 kB / 0.7707 GB, free: 168 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.5524, allocations: 8.031 kB / 0.7707 GB, free: 160 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.38e-05/0.5525, allocations: 80.22 kB / 0.7708 GB, free: 80 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.5527, allocations: 239.7 kB / 0.771 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.85e-05/0.5527, allocations: 158.9 kB / 0.7711 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.737e-05/0.5528, allocations: 158.7 kB / 0.7713 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.211e-05/0.5529, allocations: 108.9 kB / 0.7714 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/0.5529, allocations: 75.28 kB / 0.7715 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.014e-05/0.553, allocations: 150.6 kB / 0.7716 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.669e-05/0.553, allocations: 150.6 kB / 0.7717 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.984e-05/0.5531, allocations: 154.6 kB / 0.7719 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.5534, allocations: 449.9 kB / 0.7723 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.818e-05/0.5535, allocations: 173.1 kB / 0.7725 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.693e-05/0.5535, allocations: 84.08 kB / 0.7726 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.5536, allocations: 83.28 kB / 0.7726 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/0.5536, allocations: 109.9 kB / 0.7728 GB, free: 13.9 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.5536, allocations: 0 / 0.7728 GB, free: 13.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 9.034e-05/0.5537, allocations: 29.7 kB / 0.7728 GB, free: 13.87 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.966e-05/0.5538, allocations: 134.6 kB / 0.7729 GB, free: 13.72 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.5539, allocations: 104.5 kB / 0.773 GB, free: 13.61 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.554, allocations: 29.7 kB / 0.773 GB, free: 13.58 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.554, allocations: 92.05 kB / 0.7731 GB, free: 13.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/0.554, allocations: 0 / 0.7731 GB, free: 13.48 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.5541, allocations: 21.66 kB / 0.7731 GB, free: 13.46 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.5542, allocations: 322.8 kB / 0.7735 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.311e-05/0.5542, allocations: 0 / 0.7735 GB, free: 13.13 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.584e-05/0.5543, allocations: 26.58 kB / 0.7735 GB, free: 13.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.253e-05/0.5543, allocations: 30.5 kB / 0.7735 GB, free: 13.06 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5543, allocations: 0 / 0.7735 GB, free: 13.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001292/0.5545, allocations: 49.58 kB / 0.7736 GB, free: 13 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.5545, allocations: 8 kB / 0.7736 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5545, allocations: 0 / 0.7736 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.5545, allocations: 3.984 kB / 0.7736 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.796e-05/0.5546, allocations: 8.094 kB / 0.7736 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.5546, allocations: 4 kB / 0.7736 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.5548, allocations: 4 kB / 0.7736 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.5548, allocations: 3.984 kB / 0.7736 GB, free: 12.97 MB / 0.545 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 0.0001066/0.5549, allocations: 191.5 kB / 0.7738 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.555, allocations: 108.9 kB / 0.7739 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.538e-05/0.555, allocations: 112.4 kB / 0.774 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.125e-05/0.5551, allocations: 180.3 kB / 0.7742 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.606e-05/0.5552, allocations: 188.2 kB / 0.7743 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.443e-05/0.5552, allocations: 180.3 kB / 0.7745 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.5554, allocations: 405.1 kB / 0.7749 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.119e-05/0.5555, allocations: 105 kB / 0.775 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.56e-05/0.5555, allocations: 113 kB / 0.7751 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.116e-05/0.5556, allocations: 180.2 kB / 0.7753 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.598e-05/0.5557, allocations: 176.3 kB / 0.7754 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.724e-05/0.5557, allocations: 180.2 kB / 0.7756 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.498e-05/0.5558, allocations: 184.4 kB / 0.7758 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.556, allocations: 319.7 kB / 0.7761 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.555e-05/0.556, allocations: 182 kB / 0.7763 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.512e-05/0.5561, allocations: 184.2 kB / 0.7764 GB, free: 9.852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.043e-05/0.5562, allocations: 101 kB / 0.7765 GB, free: 9.746 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.5563, allocations: 184.2 kB / 0.7767 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-05/0.5563, allocations: 109 kB / 0.7768 GB, free: 9.445 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.465e-05/0.5564, allocations: 83.27 kB / 0.7769 GB, free: 9.363 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5564, allocations: 0 / 0.7769 GB, free: 9.363 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003443/0.5567, allocations: 55.94 kB / 0.7769 GB, free: 9.309 MB / 0.545 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.0005591/0.5573, allocations: 343.4 kB / 0.7773 GB, free: 9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.671e-05/0.5574, allocations: 15.92 kB / 0.7773 GB, free: 8.984 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5574, allocations: 4.188 kB / 0.7773 GB, free: 8.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.5574, allocations: 0 / 0.7773 GB, free: 8.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.5578, allocations: 455.6 kB / 0.7777 GB, free: 8.531 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002624/0.558, allocations: 191.2 kB / 0.7779 GB, free: 8.309 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.5583, allocations: 0.6768 MB / 0.7786 GB, free: 7.605 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.5583, allocations: 11.44 kB / 0.7786 GB, free: 7.594 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.5584, allocations: 0 / 0.7786 GB, free: 7.594 MB / 0.545 GB Notification: Performance of Templates: time 0.003468/0.5618, allocations: 1.603 MB / 0.7801 GB, free: 6 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)