Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 104 kB / 16.35 MB, free: 5.824 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.001548/0.001549, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.605/1.605, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002263/0.002263, allocations: 296.7 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.077/1.077, allocations: 169.2 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 99.69 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2929, allocations: 86.97 MB / 0.6816 GB, free: 7.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002651/0.2956, allocations: 1.238 MB / 0.6828 GB, free: 6.234 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.2967, allocations: 0.7193 MB / 0.6835 GB, free: 5.512 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.744e-05/0.2967, allocations: 3.938 kB / 0.6835 GB, free: 5.508 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.2968, allocations: 0 / 0.6835 GB, free: 5.508 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.297, allocations: 11.92 kB / 0.6835 GB, free: 5.496 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.232e-05/0.2971, allocations: 18.56 kB / 0.6835 GB, free: 5.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.126e-05/0.2972, allocations: 7.984 kB / 0.6835 GB, free: 5.473 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.085e-05/0.2972, allocations: 3.984 kB / 0.6836 GB, free: 5.469 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.119e-05/0.2973, allocations: 8 kB / 0.6836 GB, free: 5.461 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000756/0.298, allocations: 4 kB / 0.6836 GB, free: 5.457 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.2981, allocations: 0 / 0.6836 GB, free: 5.457 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.51e-05/0.2981, allocations: 7.984 kB / 0.6836 GB, free: 5.449 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.348e-05/0.2982, allocations: 4 kB / 0.6836 GB, free: 5.445 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.88e-05/0.2982, allocations: 7.938 kB / 0.6836 GB, free: 5.438 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.657e-05/0.2983, allocations: 11.92 kB / 0.6836 GB, free: 5.426 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.2983, allocations: 3.938 kB / 0.6836 GB, free: 5.422 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.2983, allocations: 4 kB / 0.6836 GB, free: 5.418 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.2983, allocations: 0 / 0.6836 GB, free: 5.418 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.0003361/0.2987, allocations: 319.5 kB / 0.6839 GB, free: 5.055 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.2987, allocations: 8.031 kB / 0.6839 GB, free: 5.047 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.984e-05/0.2988, allocations: 76.22 kB / 0.684 GB, free: 4.973 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.299, allocations: 243.7 kB / 0.6842 GB, free: 4.695 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.765e-05/0.299, allocations: 150.9 kB / 0.6844 GB, free: 4.547 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/0.2991, allocations: 150.9 kB / 0.6845 GB, free: 4.398 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.365e-05/0.2992, allocations: 105.5 kB / 0.6846 GB, free: 4.289 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/0.2992, allocations: 75.47 kB / 0.6847 GB, free: 4.215 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.565e-05/0.2993, allocations: 154.5 kB / 0.6848 GB, free: 4.062 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.076e-05/0.2993, allocations: 154.6 kB / 0.685 GB, free: 3.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.444e-05/0.2994, allocations: 158.5 kB / 0.6851 GB, free: 3.754 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003182/0.2997, allocations: 446 kB / 0.6855 GB, free: 3.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.31e-05/0.2998, allocations: 165.1 kB / 0.6857 GB, free: 3.098 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.458e-05/0.2999, allocations: 88.19 kB / 0.6858 GB, free: 3.008 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.2999, allocations: 75.28 kB / 0.6859 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.398e-05/0.3, allocations: 113.8 kB / 0.686 GB, free: 2.812 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.3, allocations: 4 kB / 0.686 GB, free: 2.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 8.221e-05/0.3001, allocations: 33.62 kB / 0.686 GB, free: 2.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.3002, allocations: 126.7 kB / 0.6861 GB, free: 2.633 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.3003, allocations: 93.86 kB / 0.6862 GB, free: 2.531 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.3003, allocations: 25.7 kB / 0.6862 GB, free: 2.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/0.3004, allocations: 84.14 kB / 0.6863 GB, free: 2.414 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/0.3004, allocations: 3.984 kB / 0.6863 GB, free: 2.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.3004, allocations: 17.84 kB / 0.6863 GB, free: 2.387 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3005, allocations: 314.8 kB / 0.6866 GB, free: 2.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.609e-06/0.3005, allocations: 0 / 0.6866 GB, free: 2.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.58e-05/0.3006, allocations: 7.984 kB / 0.6867 GB, free: 2.062 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.274e-05/0.3006, allocations: 75.28 kB / 0.6867 GB, free: 1.988 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.871e-05/0.3006, allocations: 79.22 kB / 0.6868 GB, free: 1.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.356e-05/0.3007, allocations: 29.7 kB / 0.6868 GB, free: 1.875 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.655e-05/0.3007, allocations: 79.28 kB / 0.6869 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.861e-05/0.3008, allocations: 84.02 kB / 0.687 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.347e-05/0.3009, allocations: 158.5 kB / 0.6871 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.674e-05/0.3009, allocations: 79.28 kB / 0.6872 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.434e-05/0.301, allocations: 154.5 kB / 0.6874 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.3011, allocations: 79.27 kB / 0.6874 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.3011, allocations: 79.28 kB / 0.6875 GB, free: 1.172 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001269/0.3013, allocations: 264.3 kB / 0.6878 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.988e-05/0.3013, allocations: 105.1 kB / 0.6879 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.484e-05/0.3014, allocations: 120.1 kB / 0.688 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.348e-05/0.3015, allocations: 192.2 kB / 0.6882 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.56e-05/0.3016, allocations: 176.3 kB / 0.6883 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.205e-05/0.3016, allocations: 184.3 kB / 0.6885 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4179/0.7195, allocations: 397.4 kB / 0.6889 GB, free: 18.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-05/0.7196, allocations: 109.8 kB / 0.689 GB, free: 18.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.227e-05/0.7196, allocations: 102.2 kB / 0.6891 GB, free: 18.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.763e-05/0.7197, allocations: 181.4 kB / 0.6893 GB, free: 17.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.764e-05/0.7197, allocations: 181.9 kB / 0.6894 GB, free: 17.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.495e-05/0.7198, allocations: 183.8 kB / 0.6896 GB, free: 17.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.28e-05/0.7198, allocations: 177.7 kB / 0.6898 GB, free: 17.39 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.7199, allocations: 310.6 kB / 0.6901 GB, free: 17.08 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.72, allocations: 179.3 kB / 0.6902 GB, free: 16.88 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.861e-05/0.72, allocations: 185.4 kB / 0.6904 GB, free: 16.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.7201, allocations: 105.5 kB / 0.6905 GB, free: 16.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.7202, allocations: 185.4 kB / 0.6907 GB, free: 16.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.7202, allocations: 102.7 kB / 0.6908 GB, free: 16.31 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.511e-05/0.7202, allocations: 80.36 kB / 0.6909 GB, free: 16.24 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7203, allocations: 0 / 0.6909 GB, free: 16.24 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003409/0.7206, allocations: 6.188 kB / 0.6909 GB, free: 16.24 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.0003556/0.721, allocations: 194 kB / 0.6911 GB, free: 16.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.574e-05/0.721, allocations: 5.109 kB / 0.6911 GB, free: 16.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.721, allocations: 3.844 kB / 0.6911 GB, free: 16.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.895e-06/0.721, allocations: 0.6875 kB / 0.6911 GB, free: 16.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.7213, allocations: 457.6 kB / 0.6915 GB, free: 15.63 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002675/0.7216, allocations: 166.8 kB / 0.6917 GB, free: 15.46 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.7218, allocations: 0.6724 MB / 0.6923 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.776e-05/0.7218, allocations: 1.797 kB / 0.6923 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.491e-05/0.7218, allocations: 8.094 kB / 0.6923 GB, free: 14.76 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.7218, allocations: 0 / 0.6923 GB, free: 14.76 MB / 494.1 MB Notification: Performance of Templates: time 0.002627/0.7244, allocations: 325 kB / 0.6926 GB, free: 14.76 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)