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.001879/0.001879, allocations: 115.5 kB / 16.37 MB, free: 6.004 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.002561/0.002561, allocations: 195.6 kB / 17.31 MB, free: 5.613 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.535/1.535, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002521/0.002521, allocations: 286.1 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.057/1.057, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002562/0.002562, allocations: 94.53 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2618, allocations: 86.97 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.004087/0.2659, allocations: 1.261 MB / 0.6828 GB, free: 6.172 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002861/0.2689, allocations: 1.441 MB / 0.6843 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.2689, allocations: 0 / 0.6843 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.965e-05/0.269, allocations: 3.938 kB / 0.6843 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002457/0.2692, allocations: 11.92 kB / 0.6843 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007155/0.27, allocations: 218.7 kB / 0.6845 GB, free: 4.496 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.934e-05/0.2701, allocations: 27.91 kB / 0.6845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.031e-05/0.2701, allocations: 0 / 0.6845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.2702, allocations: 15.94 kB / 0.6845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.2704, allocations: 19.91 kB / 0.6845 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.2704, allocations: 0 / 0.6845 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002962/0.2707, allocations: 163.9 kB / 0.6847 GB, free: 4.273 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.2707, allocations: 7.922 kB / 0.6847 GB, free: 4.266 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.2708, allocations: 15.94 kB / 0.6847 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.2711, allocations: 143.7 kB / 0.6849 GB, free: 4.109 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.2711, allocations: 0 / 0.6849 GB, free: 4.109 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.2711, allocations: 0 / 0.6849 GB, free: 4.109 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.2711, allocations: 0 / 0.6849 GB, free: 4.109 MB / 494.1 MB 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.0004603/0.2716, allocations: 371.5 kB / 0.6852 GB, free: 3.699 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.2716, allocations: 8.031 kB / 0.6852 GB, free: 3.691 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.086e-05/0.2717, allocations: 76.22 kB / 0.6853 GB, free: 3.617 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.2719, allocations: 251.5 kB / 0.6855 GB, free: 3.332 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.642e-05/0.272, allocations: 158.9 kB / 0.6857 GB, free: 3.176 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.588e-05/0.2721, allocations: 158.7 kB / 0.6858 GB, free: 3.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.197e-05/0.2721, allocations: 104.9 kB / 0.6859 GB, free: 2.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.818e-05/0.2722, allocations: 79.22 kB / 0.686 GB, free: 2.832 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-05/0.2722, allocations: 150.6 kB / 0.6861 GB, free: 2.684 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.802e-05/0.2723, allocations: 154.6 kB / 0.6863 GB, free: 2.531 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.973e-05/0.2724, allocations: 154.6 kB / 0.6864 GB, free: 2.379 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.2727, allocations: 449.9 kB / 0.6869 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.647e-05/0.2728, allocations: 177.1 kB / 0.687 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.931e-05/0.2728, allocations: 88.08 kB / 0.6871 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.2729, allocations: 75.28 kB / 0.6872 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.926e-05/0.2729, allocations: 109.8 kB / 0.6873 GB, free: 1.426 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/0.2729, allocations: 0 / 0.6873 GB, free: 1.426 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.572e-05/0.273, allocations: 29.7 kB / 0.6873 GB, free: 1.391 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.2731, allocations: 126.7 kB / 0.6875 GB, free: 1.254 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.2732, allocations: 109.8 kB / 0.6876 GB, free: 1.137 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.2732, allocations: 29.7 kB / 0.6876 GB, free: 1.102 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.2732, allocations: 80.14 kB / 0.6877 GB, free: 1.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.2733, allocations: 3.938 kB / 0.6877 GB, free: 1.016 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.2733, allocations: 21.72 kB / 0.6877 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.2734, allocations: 314.8 kB / 0.688 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.489e-05/0.2734, allocations: 4 kB / 0.688 GB, free: 0.668 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.703e-05/0.2735, allocations: 26.58 kB / 0.688 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.401e-05/0.2735, allocations: 26.56 kB / 0.688 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2736, allocations: 0 / 0.688 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001352/0.2737, allocations: 53.52 kB / 0.6881 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2737, allocations: 6.5 kB / 0.6881 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.2737, allocations: 7.984 kB / 0.6881 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.2738, allocations: 8.031 kB / 0.6881 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.178e-05/0.2738, allocations: 4 kB / 0.6881 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2738, allocations: 0 / 0.6881 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.274, allocations: 11.84 kB / 0.6881 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.274, allocations: 11.98 kB / 0.6881 GB, free: 0.4922 MB / 494.1 MB 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.0001206/0.2742, allocations: 185.1 kB / 0.6883 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.669e-05/0.2742, allocations: 104.9 kB / 0.6884 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.055e-05/0.2743, allocations: 112.4 kB / 0.6885 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.5688/0.8432, allocations: 180.8 kB / 0.6887 GB, free: 18.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.111e-05/0.8433, allocations: 183 kB / 0.6889 GB, free: 18.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.851e-05/0.8433, allocations: 181.6 kB / 0.689 GB, free: 17.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.8435, allocations: 409.7 kB / 0.6894 GB, free: 17.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.731e-05/0.8436, allocations: 109.1 kB / 0.6895 GB, free: 17.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.271e-05/0.8436, allocations: 106.1 kB / 0.6896 GB, free: 17.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.671e-05/0.8437, allocations: 177.8 kB / 0.6898 GB, free: 17.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.962e-05/0.8437, allocations: 179.4 kB / 0.69 GB, free: 16.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.739e-05/0.8437, allocations: 179.9 kB / 0.6902 GB, free: 16.66 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.695e-05/0.8438, allocations: 186.7 kB / 0.6903 GB, free: 16.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.8439, allocations: 303.9 kB / 0.6906 GB, free: 16.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.844, allocations: 189.2 kB / 0.6908 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.3e-05/0.8441, allocations: 182.5 kB / 0.691 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.786e-05/0.8442, allocations: 106.5 kB / 0.6911 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.8442, allocations: 179.6 kB / 0.6912 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.8443, allocations: 103.8 kB / 0.6913 GB, free: 15.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.651e-05/0.8443, allocations: 87.72 kB / 0.6914 GB, free: 15.33 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8443, allocations: 2.156 kB / 0.6914 GB, free: 15.33 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005279/0.8449, allocations: 47.84 kB / 0.6915 GB, free: 15.33 MB / 494.1 MB 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.0007689/0.8456, allocations: 340.4 kB / 0.6918 GB, free: 15.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001339/0.8458, allocations: 14.94 kB / 0.6918 GB, free: 15.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.8458, allocations: 1.594 kB / 0.6918 GB, free: 15.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.356e-06/0.8458, allocations: 1.125 kB / 0.6918 GB, free: 15.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.8461, allocations: 457.5 kB / 0.6923 GB, free: 14.71 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.8465, allocations: 179 kB / 0.6924 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.8467, allocations: 0.6742 MB / 0.6931 GB, free: 13.85 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.162e-05/0.8467, allocations: 2.531 kB / 0.6931 GB, free: 13.85 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.862e-05/0.8467, allocations: 8.797 kB / 0.6931 GB, free: 13.84 MB / 494.1 MB Notification: Performance of SimCode: time 3.61e-07/0.8468, allocations: 1.25 kB / 0.6931 GB, free: 13.84 MB / 494.1 MB Notification: Performance of Templates: time 0.005971/0.8527, allocations: 1.619 MB / 0.6947 GB, free: 13.75 MB / 494.1 MB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)