Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.727/1.727, allocations: 288.4 MB / 303.3 MB, free: 8.098 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 182.2 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205.4 MB / 0.6307 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007819/0.0007819, allocations: 78.98 kB / 0.744 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004643/0.0004643, allocations: 15.34 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2764, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001285/0.2777, allocations: 0.9589 MB / 0.9806 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009463/0.2787, allocations: 0.676 MB / 0.9812 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.2787, allocations: 0 / 0.9812 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.912e-05/0.2788, allocations: 0 / 0.9812 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.279, allocations: 19.91 kB / 0.9813 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 8.303e-05/0.2791, allocations: 0 / 0.9813 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.859e-05/0.2792, allocations: 12 kB / 0.9813 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/0.2792, allocations: 3.984 kB / 0.9813 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.077e-05/0.2792, allocations: 7.938 kB / 0.9813 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.2794, allocations: 11.98 kB / 0.9813 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.2794, allocations: 0 / 0.9813 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.791e-05/0.2795, allocations: 0 / 0.9813 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.7e-05/0.2795, allocations: 4 kB / 0.9813 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.685e-05/0.2795, allocations: 25.7 kB / 0.9813 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.618e-05/0.2796, allocations: 11.92 kB / 0.9813 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2796, allocations: 0 / 0.9813 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.385e-06/0.2796, allocations: 0 / 0.9813 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.818e-06/0.2796, allocations: 0 / 0.9813 GB, free: 25.83 MB / 0.6198 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.0002859/0.2799, allocations: 327.6 kB / 0.9816 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.28, allocations: 16.02 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.032e-05/0.28, allocations: 105.8 kB / 0.9818 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.748e-05/0.2801, allocations: 79.19 kB / 0.9818 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.2802, allocations: 246.2 kB / 0.9821 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.53e-05/0.2803, allocations: 150.6 kB / 0.9822 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.2803, allocations: 158.5 kB / 0.9824 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.816e-05/0.2804, allocations: 105 kB / 0.9825 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.2804, allocations: 75.28 kB / 0.9825 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.2804, allocations: 150.6 kB / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.07e-05/0.2805, allocations: 150.6 kB / 0.9828 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.67e-05/0.2805, allocations: 158.5 kB / 0.983 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002172/0.2807, allocations: 449.9 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.34e-05/0.2808, allocations: 173.1 kB / 0.9836 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.167e-05/0.2808, allocations: 80.14 kB / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.2808, allocations: 75.28 kB / 0.9837 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.2809, allocations: 113.8 kB / 0.9838 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.312e-06/0.2809, allocations: 0 / 0.9838 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.84e-05/0.281, allocations: 29.64 kB / 0.9839 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.281, allocations: 138.6 kB / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.13e-05/0.2811, allocations: 97.84 kB / 0.9841 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.2811, allocations: 25.7 kB / 0.9841 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.999e-05/0.2812, allocations: 84.12 kB / 0.9842 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-06/0.2812, allocations: 0 / 0.9842 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-07/0.2812, allocations: 4 kB / 0.9842 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.104e-05/0.2812, allocations: 318.8 kB / 0.9845 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.386e-06/0.2812, allocations: 0 / 0.9845 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.202e-05/0.2813, allocations: 0 / 0.9845 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.063e-05/0.2813, allocations: 76.16 kB / 0.9846 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/0.2813, allocations: 79.23 kB / 0.9846 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.474e-05/0.2814, allocations: 37.58 kB / 0.9847 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.2814, allocations: 83.27 kB / 0.9848 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.2814, allocations: 83.31 kB / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.556e-05/0.2815, allocations: 158.7 kB / 0.985 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.143e-05/0.2815, allocations: 75.28 kB / 0.9851 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-05/0.2815, allocations: 154.6 kB / 0.9852 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.2816, allocations: 83.22 kB / 0.9853 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.2817, allocations: 75.44 kB / 0.9854 GB, free: 21.46 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 7.079e-05/0.2817, allocations: 265.9 kB / 0.9856 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.333e-05/0.2818, allocations: 120.9 kB / 0.9857 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.2818, allocations: 104.1 kB / 0.9858 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.807e-05/0.2819, allocations: 180.3 kB / 0.986 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.97e-05/0.2819, allocations: 184.2 kB / 0.9862 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.921e-05/0.2819, allocations: 184.2 kB / 0.9864 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.2821, allocations: 401.2 kB / 0.9867 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/0.2821, allocations: 105 kB / 0.9868 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.2821, allocations: 108.9 kB / 0.9869 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.577e-05/0.2822, allocations: 180.2 kB / 0.9871 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/0.2822, allocations: 176.3 kB / 0.9873 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.814e-05/0.2822, allocations: 188.2 kB / 0.9875 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.787e-05/0.2823, allocations: 180.3 kB / 0.9876 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.919e-05/0.2823, allocations: 307.8 kB / 0.9879 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.2824, allocations: 178.1 kB / 0.9881 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.985e-05/0.2824, allocations: 196.1 kB / 0.9883 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.318e-05/0.2825, allocations: 105 kB / 0.9884 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.2825, allocations: 176.3 kB / 0.9885 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.2826, allocations: 104.9 kB / 0.9886 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.285e-05/0.2826, allocations: 83.27 kB / 0.9887 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.7e-07/0.2826, allocations: 0 / 0.9887 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002723/0.2829, allocations: 4 kB / 0.9887 GB, free: 17.79 MB / 0.6198 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 (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.0003404/0.2832, allocations: 0.8097 MB / 0.9895 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 4.905e-05/0.2833, allocations: 7.922 kB / 0.9895 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2833, allocations: 0 / 0.9895 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.554e-06/0.2833, allocations: 8 kB / 0.9895 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.2836, allocations: 0.5224 MB / 0.99 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/0.2842, allocations: 0.528 MB / 0.9906 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.2843, allocations: 0.6731 MB / 0.9912 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.907e-05/0.2843, allocations: 4 kB / 0.9912 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.2844, allocations: 9.688 kB / 0.9912 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2844, allocations: 0 / 0.9912 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01339/0.2978, allocations: 0.9983 MB / 0.9922 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/0.298, allocations: 240.7 kB / 0.9924 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.509/1.807, allocations: 0 / 0.9924 GB, free: 14.11 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)