Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.22/1.22, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6857/0.6857, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 63.84 kB / 0.5019 GB, free: 3.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3043, allocations: 80.19 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001991/0.3063, allocations: 1.249 MB / 0.5814 GB, free: 3.695 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007731/0.3071, allocations: 0.7222 MB / 0.5821 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.119e-05/0.3071, allocations: 0 / 0.5821 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.226e-05/0.3071, allocations: 0 / 0.5821 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.3073, allocations: 23.8 kB / 0.5821 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.975e-05/0.3074, allocations: 7.297 kB / 0.5821 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.347e-05/0.3074, allocations: 8.906 kB / 0.5822 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.493e-05/0.3075, allocations: 2.828 kB / 0.5822 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.72e-05/0.3075, allocations: 5.875 kB / 0.5822 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.3076, allocations: 13.08 kB / 0.5822 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.3076, allocations: 0.9375 kB / 0.5822 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.696e-05/0.3077, allocations: 5.109 kB / 0.5822 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.828e-05/0.3077, allocations: 7.812 kB / 0.5822 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.464e-05/0.3078, allocations: 2.047 kB / 0.5822 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.891e-05/0.3078, allocations: 15.92 kB / 0.5822 GB, free: 3.129 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3078, allocations: 4 kB / 0.5822 GB, free: 3.125 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.3078, allocations: 0 / 0.5822 GB, free: 3.125 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.3079, allocations: 0.875 kB / 0.5822 GB, free: 3.125 MB / 430.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.0002223/0.3081, allocations: 327.5 kB / 0.5825 GB, free: 2.766 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.3081, allocations: 10.72 kB / 0.5825 GB, free: 2.766 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.625e-05/0.3081, allocations: 106.6 kB / 0.5826 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.3082, allocations: 77.59 kB / 0.5827 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.907e-05/0.3083, allocations: 240 kB / 0.5829 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.3083, allocations: 160.5 kB / 0.5831 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.3083, allocations: 150.9 kB / 0.5832 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.189e-05/0.3084, allocations: 103.5 kB / 0.5833 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3084, allocations: 79.22 kB / 0.5834 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.3084, allocations: 154.6 kB / 0.5836 GB, free: 1.668 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.3084, allocations: 156.1 kB / 0.5837 GB, free: 1.516 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.698e-05/0.3084, allocations: 151.3 kB / 0.5838 GB, free: 1.367 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.3086, allocations: 446.3 kB / 0.5843 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.314e-05/0.3086, allocations: 170.7 kB / 0.5844 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.338e-05/0.3087, allocations: 81.2 kB / 0.5845 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.3087, allocations: 79.28 kB / 0.5846 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.3087, allocations: 107.8 kB / 0.5847 GB, free: 448 kB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.3087, allocations: 0 / 0.5847 GB, free: 448 kB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 5.623e-05/0.3088, allocations: 35.34 kB / 0.5847 GB, free: 408 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.3088, allocations: 128.3 kB / 0.5849 GB, free: 268 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.826e-05/0.3089, allocations: 105 kB / 0.585 GB, free: 160 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.961e-06/0.3089, allocations: 30.48 kB / 0.585 GB, free: 124 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.917e-05/0.3089, allocations: 81.91 kB / 0.5851 GB, free: 40 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.253e-06/0.3089, allocations: 0 / 0.5851 GB, free: 40 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/0.3089, allocations: 12.3 kB / 0.5851 GB, free: 24 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.944e-05/0.309, allocations: 316.6 kB / 0.5854 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-06/0.309, allocations: 0 / 0.5854 GB, free: 15.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.069e-05/0.309, allocations: 5.375 kB / 0.5854 GB, free: 15.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.473e-05/0.3091, allocations: 80.66 kB / 0.5855 GB, free: 15.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-05/0.3091, allocations: 83.31 kB / 0.5855 GB, free: 15.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.472e-05/0.3092, allocations: 29.92 kB / 0.5856 GB, free: 15.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.3092, allocations: 89.22 kB / 0.5856 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/0.3092, allocations: 75.84 kB / 0.5857 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.389e-05/0.3093, allocations: 152.7 kB / 0.5859 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.273e-05/0.3093, allocations: 79.88 kB / 0.5859 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.853e-05/0.3093, allocations: 156.5 kB / 0.5861 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.3095, allocations: 85.88 kB / 0.5862 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.3095, allocations: 80.55 kB / 0.5862 GB, free: 14.82 MB / 446.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 9.043e-05/0.3096, allocations: 260.8 kB / 0.5865 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.186e-05/0.3096, allocations: 107.5 kB / 0.5866 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.3097, allocations: 110.3 kB / 0.5867 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.798e-05/0.3097, allocations: 185.3 kB / 0.5869 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-05/0.3098, allocations: 183.7 kB / 0.5871 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.565e-05/0.3098, allocations: 176.3 kB / 0.5872 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.31, allocations: 398.9 kB / 0.5876 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.898e-05/0.3101, allocations: 110.5 kB / 0.5877 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.934e-05/0.3101, allocations: 102.5 kB / 0.5878 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.146e-05/0.3101, allocations: 193.9 kB / 0.588 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.623e-05/0.3102, allocations: 177.7 kB / 0.5882 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.68e-05/0.3103, allocations: 178.6 kB / 0.5883 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.041e-05/0.3103, allocations: 181.6 kB / 0.5885 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.3104, allocations: 314.6 kB / 0.5888 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.3105, allocations: 180.1 kB / 0.589 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/0.3105, allocations: 186.5 kB / 0.5892 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-05/0.3106, allocations: 111.1 kB / 0.5893 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.3107, allocations: 178.4 kB / 0.5894 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.3107, allocations: 107.1 kB / 0.5895 GB, free: 11.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.469e-05/0.3108, allocations: 83.73 kB / 0.5896 GB, free: 11.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3108, allocations: 0 / 0.5896 GB, free: 11.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002436/0.311, allocations: 2.5 kB / 0.5896 GB, free: 11.19 MB / 446.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.000407/0.3114, allocations: 0.8186 MB / 0.5904 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 3.719e-05/0.3115, allocations: 4.844 kB / 0.5904 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.3115, allocations: 4.969 kB / 0.5904 GB, free: 10.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.3115, allocations: 3.938 kB / 0.5904 GB, free: 10.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.3118, allocations: 460.6 kB / 0.5909 GB, free: 9.918 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009306/0.3127, allocations: 1.566 MB / 0.5924 GB, free: 8.336 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.3129, allocations: 0.6737 MB / 0.5931 GB, free: 7.641 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.288e-05/0.3129, allocations: 0 / 0.5931 GB, free: 7.641 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.124e-05/0.313, allocations: 10.86 kB / 0.5931 GB, free: 7.633 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.313, allocations: 0 / 0.5931 GB, free: 7.633 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01654/0.3295, allocations: 1.16 MB / 0.5942 GB, free: 7.316 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.627/6.957, allocations: 6.891 kB / 0.5942 GB, free: 7.312 MB / 446.1 MB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)