Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="IDEAS_dev_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.00174/0.00174, 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.001907/0.001907, allocations: 193.8 kB / 16.53 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.386/2.386, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.589/1.589, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002518/0.002518, allocations: 64.56 kB / 0.5054 GB, free: 5.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2959, allocations: 80.93 MB / 0.5845 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.003928/0.2999, allocations: 1.228 MB / 0.5857 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005875/0.3058, allocations: 0.7169 MB / 0.5864 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.177e-05/0.3059, allocations: 4 kB / 0.5864 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.476e-05/0.3059, allocations: 0 / 0.5864 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.3063, allocations: 19.92 kB / 0.5864 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001028/0.3064, allocations: 4 kB / 0.5864 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.974e-05/0.3065, allocations: 11.92 kB / 0.5864 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.3065, allocations: 4 kB / 0.5864 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.534e-05/0.3066, allocations: 7.938 kB / 0.5864 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.3067, allocations: 7.984 kB / 0.5864 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.3068, allocations: 0 / 0.5864 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.443e-05/0.3069, allocations: 7.984 kB / 0.5864 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.801e-05/0.3069, allocations: 8 kB / 0.5864 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.307, allocations: 0 / 0.5864 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.3071, allocations: 23.91 kB / 0.5865 GB, free: 2.371 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3071, allocations: 0 / 0.5865 GB, free: 2.371 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3071, allocations: 0 / 0.5865 GB, free: 2.371 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.3071, allocations: 0 / 0.5865 GB, free: 2.371 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.0004789/0.3076, allocations: 331.6 kB / 0.5868 GB, free: 1.996 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.3077, allocations: 8.031 kB / 0.5868 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.06e-05/0.3078, allocations: 106 kB / 0.5869 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.3079, allocations: 80.22 kB / 0.587 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.3081, allocations: 251.6 kB / 0.5872 GB, free: 1.512 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-05/0.3082, allocations: 150.9 kB / 0.5874 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.894e-05/0.3083, allocations: 154.9 kB / 0.5875 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.113e-05/0.3084, allocations: 101.5 kB / 0.5876 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.255e-05/0.3085, allocations: 83.22 kB / 0.5877 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.166e-05/0.3086, allocations: 154.6 kB / 0.5878 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-05/0.3087, allocations: 150.6 kB / 0.588 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.195e-05/0.3088, allocations: 154.5 kB / 0.5881 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.3092, allocations: 449.9 kB / 0.5885 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.3094, allocations: 169.1 kB / 0.5887 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.782e-05/0.3095, allocations: 80.14 kB / 0.5888 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.242e-05/0.3095, allocations: 75.28 kB / 0.5889 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.872e-05/0.3096, allocations: 113.8 kB / 0.589 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.673e-06/0.3096, allocations: 0 / 0.589 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0001182/0.3097, allocations: 33.64 kB / 0.589 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.027e-05/0.3098, allocations: 130.7 kB / 0.5891 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.31, allocations: 97.84 kB / 0.5892 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.31, allocations: 25.7 kB / 0.5892 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.3101, allocations: 92.08 kB / 0.5893 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.3101, allocations: 0 / 0.5893 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.3102, allocations: 13.77 kB / 0.5893 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.3103, allocations: 310.8 kB / 0.5896 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.155e-06/0.3104, allocations: 0 / 0.5896 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.538e-05/0.3104, allocations: 15.92 kB / 0.5897 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.376e-05/0.3105, allocations: 75.28 kB / 0.5897 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.762e-05/0.3105, allocations: 79.22 kB / 0.5898 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001033/0.3106, allocations: 29.7 kB / 0.5898 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.188e-05/0.3107, allocations: 83.22 kB / 0.5899 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.265e-05/0.3108, allocations: 79.28 kB / 0.59 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-05/0.3109, allocations: 154.5 kB / 0.5901 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.99e-05/0.3109, allocations: 83.31 kB / 0.5902 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.268e-05/0.311, allocations: 154.5 kB / 0.5904 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.3112, allocations: 79.27 kB / 0.5904 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-05/0.3113, allocations: 79.28 kB / 0.5905 GB, free: 13.98 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001689/0.3115, allocations: 260.4 kB / 0.5908 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.3116, allocations: 109 kB / 0.5909 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.796e-05/0.3117, allocations: 116.1 kB / 0.591 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001002/0.3118, allocations: 184.2 kB / 0.5911 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.425e-05/0.3119, allocations: 176.3 kB / 0.5913 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.501e-05/0.312, allocations: 180.3 kB / 0.5915 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003682/0.3124, allocations: 405.2 kB / 0.5919 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.746e-05/0.3124, allocations: 105 kB / 0.592 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.829e-05/0.3125, allocations: 108.9 kB / 0.5921 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.742e-05/0.3126, allocations: 184.2 kB / 0.5923 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-05/0.3127, allocations: 176.3 kB / 0.5924 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001011/0.3129, allocations: 188.2 kB / 0.5926 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.637e-05/0.313, allocations: 180.3 kB / 0.5928 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.3132, allocations: 303.8 kB / 0.5931 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.3133, allocations: 190 kB / 0.5932 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004144/0.3175, allocations: 188.3 kB / 0.5934 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.3176, allocations: 101 kB / 0.5935 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.3178, allocations: 192.2 kB / 0.5937 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.968e-05/0.3179, allocations: 101 kB / 0.5938 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.57e-05/0.318, allocations: 87.27 kB / 0.5939 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.7e-07/0.318, allocations: 0 / 0.5939 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005129/0.3185, allocations: 4 kB / 0.5939 GB, free: 10.29 MB / 0.4981 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.0008622/0.3194, allocations: 0.8324 MB / 0.5947 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.53e-05/0.3195, allocations: 0 / 0.5947 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3195, allocations: 3.938 kB / 0.5947 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.288e-06/0.3195, allocations: 0 / 0.5947 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005962/0.3201, allocations: 459.7 kB / 0.5951 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.3221, allocations: 1.567 MB / 0.5967 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.3225, allocations: 0.6728 MB / 0.5973 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.05e-05/0.3225, allocations: 4 kB / 0.5973 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.3226, allocations: 11.42 kB / 0.5973 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of SimCode: time 7.11e-07/0.3226, allocations: 0 / 0.5973 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1309/0.4535, allocations: 1.152 MB / 0.5985 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.38/17.83, allocations: 6.312 kB / 0.5985 GB, free: 5.629 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)