Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.GetTimeSpanTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.001219/0.001219, allocations: 108 kB / 15.61 MB, free: 152 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.001249/0.001249, allocations: 193.1 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.24/1.24, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7062/0.7062, allocations: 132.2 MB / 422.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 66.23 kB / 0.5019 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3005, allocations: 80.2 MB / 0.5802 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002123/0.3027, allocations: 1.271 MB / 0.5814 GB, free: 3.695 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008107/0.3035, allocations: 0.7315 MB / 0.5822 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/0.3035, allocations: 0 / 0.5822 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.445e-05/0.3036, allocations: 0.75 kB / 0.5822 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.3038, allocations: 16.34 kB / 0.5822 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.3039, allocations: 52.17 kB / 0.5822 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.721e-05/0.304, allocations: 18.39 kB / 0.5822 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.304, allocations: 6.484 kB / 0.5822 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.411e-05/0.3041, allocations: 22.17 kB / 0.5823 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.3042, allocations: 6.641 kB / 0.5823 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.3042, allocations: 0 / 0.5823 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.228e-05/0.3043, allocations: 10.66 kB / 0.5823 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.757e-05/0.3043, allocations: 8.219 kB / 0.5823 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.3044, allocations: 4.969 kB / 0.5823 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.731e-05/0.3044, allocations: 29.91 kB / 0.5823 GB, free: 3.094 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3044, allocations: 0 / 0.5823 GB, free: 3.094 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3045, allocations: 0 / 0.5823 GB, free: 3.094 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.3045, allocations: 5.375 kB / 0.5823 GB, free: 3.09 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.000233/0.3047, allocations: 329.2 kB / 0.5826 GB, free: 2.734 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.3047, allocations: 10.41 kB / 0.5827 GB, free: 2.734 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.432e-05/0.3048, allocations: 110.8 kB / 0.5828 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.3048, allocations: 81.03 kB / 0.5828 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.111e-05/0.3049, allocations: 250.3 kB / 0.5831 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.3049, allocations: 151.9 kB / 0.5832 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.3049, allocations: 156.7 kB / 0.5834 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.331e-05/0.305, allocations: 102.4 kB / 0.5835 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.305, allocations: 80.64 kB / 0.5835 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.305, allocations: 154.5 kB / 0.5837 GB, free: 1.621 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.305, allocations: 151.9 kB / 0.5838 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.797e-05/0.3051, allocations: 158.5 kB / 0.584 GB, free: 1.316 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.3052, allocations: 449.6 kB / 0.5844 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.685e-05/0.3053, allocations: 170.9 kB / 0.5846 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.308e-05/0.3053, allocations: 80.14 kB / 0.5847 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.3053, allocations: 76 kB / 0.5847 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.851e-05/0.3053, allocations: 111.7 kB / 0.5848 GB, free: 396 kB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.3053, allocations: 3.938 kB / 0.5848 GB, free: 392 kB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 6.185e-05/0.3054, allocations: 35.94 kB / 0.5849 GB, free: 352 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.3054, allocations: 128.3 kB / 0.585 GB, free: 212 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.655e-05/0.3055, allocations: 105.3 kB / 0.5851 GB, free: 108 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.3055, allocations: 26.7 kB / 0.5851 GB, free: 76 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.911e-05/0.3056, allocations: 85.72 kB / 0.5852 GB, free: 15.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.3056, allocations: 4 kB / 0.5852 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.3056, allocations: 20.86 kB / 0.5852 GB, free: 15.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.3057, allocations: 312 kB / 0.5855 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.629e-05/0.3058, allocations: 4.391 kB / 0.5855 GB, free: 15.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.335e-05/0.3058, allocations: 12.53 kB / 0.5855 GB, free: 15.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.203e-05/0.3058, allocations: 13.41 kB / 0.5855 GB, free: 15.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3059, allocations: 4.906 kB / 0.5856 GB, free: 15.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001015/0.306, allocations: 42.72 kB / 0.5856 GB, free: 15.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.306, allocations: 8.906 kB / 0.5856 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.306, allocations: 0.7812 kB / 0.5856 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.306, allocations: 0 / 0.5856 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.273e-06/0.306, allocations: 1.531 kB / 0.5856 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.306, allocations: 0 / 0.5856 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.875e-05/0.3061, allocations: 3.125 kB / 0.5856 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.3061, allocations: 2.375 kB / 0.5856 GB, free: 15.6 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.212e-05/0.3062, allocations: 193.4 kB / 0.5858 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.637e-05/0.3063, allocations: 115 kB / 0.5859 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.127e-05/0.3063, allocations: 107 kB / 0.586 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.978e-05/0.3064, allocations: 178.8 kB / 0.5862 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-05/0.3065, allocations: 185.7 kB / 0.5864 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.556e-05/0.3065, allocations: 181.6 kB / 0.5865 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.3067, allocations: 408.4 kB / 0.5869 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-05/0.3068, allocations: 101.9 kB / 0.587 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.882e-05/0.3068, allocations: 106.9 kB / 0.5871 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.865e-05/0.3069, allocations: 194.1 kB / 0.5873 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-05/0.3069, allocations: 176.9 kB / 0.5875 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.398e-05/0.307, allocations: 182.1 kB / 0.5876 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.832e-05/0.3071, allocations: 182.4 kB / 0.5878 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.3072, allocations: 309.9 kB / 0.5881 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.313e-05/0.3073, allocations: 181.3 kB / 0.5883 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.923e-05/0.3073, allocations: 193.4 kB / 0.5885 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.642e-05/0.3074, allocations: 107 kB / 0.5886 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.3075, allocations: 181.8 kB / 0.5887 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/0.3075, allocations: 106.4 kB / 0.5888 GB, free: 12.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.048e-05/0.3075, allocations: 82.84 kB / 0.5889 GB, free: 12.03 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3076, allocations: 0 / 0.5889 GB, free: 12.03 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.3078, allocations: 3.906 kB / 0.5889 GB, free: 12.03 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.0004469/0.3082, allocations: 0.8247 MB / 0.5897 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.782e-05/0.3083, allocations: 9.734 kB / 0.5897 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3083, allocations: 0 / 0.5897 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.3083, allocations: 64 / 0.5897 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.3087, allocations: 463 kB / 0.5902 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008977/0.3096, allocations: 1.287 MB / 0.5914 GB, free: 9.449 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.3098, allocations: 0.6758 MB / 0.5921 GB, free: 8.754 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.553e-05/0.3098, allocations: 2.719 kB / 0.5921 GB, free: 8.754 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.018e-05/0.3098, allocations: 15.77 kB / 0.5921 GB, free: 8.742 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3098, allocations: 0 / 0.5921 GB, free: 8.742 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.3275, allocations: 1.235 MB / 0.5933 GB, free: 8.418 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.547/6.875, allocations: 4.25 kB / 0.5933 GB, free: 8.418 MB / 446.1 MB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_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_GetTimeSpanTMY3.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1)