Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.GetAltitudeTMY3,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",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.001763/0.001763, allocations: 108 kB / 15.6 MB, free: 132 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.002108/0.002108, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.546/2.546, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.514/1.514, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00242/0.00242, allocations: 64.25 kB / 0.5054 GB, free: 5.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2448, allocations: 80.93 MB / 0.5845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.00362/0.2485, allocations: 1.229 MB / 0.5857 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002505/0.251, allocations: 1.005 MB / 0.5867 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.161e-05/0.2511, allocations: 0 / 0.5867 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.2511, allocations: 0 / 0.5867 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006815/0.2518, allocations: 115.5 kB / 0.5868 GB, free: 2.055 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.87e-06/0.2519, allocations: 0 / 0.5868 GB, free: 2.055 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.864e-05/0.2519, allocations: 4 kB / 0.5868 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.404e-05/0.252, allocations: 0 / 0.5868 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.702e-05/0.252, allocations: 7.938 kB / 0.5868 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.2522, allocations: 12.56 kB / 0.5868 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.266e-06/0.2522, allocations: 0 / 0.5868 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003289/0.2526, allocations: 111.8 kB / 0.5869 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.703e-06/0.2526, allocations: 3.938 kB / 0.5869 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.608e-05/0.2526, allocations: 3.938 kB / 0.5869 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.253, allocations: 107.8 kB / 0.587 GB, free: 1.812 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.253, allocations: 4 kB / 0.587 GB, free: 1.809 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.253, allocations: 0 / 0.587 GB, free: 1.809 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.253, allocations: 0 / 0.587 GB, free: 1.809 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.0004941/0.2535, allocations: 343.6 kB / 0.5873 GB, free: 1.426 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.2536, allocations: 12.02 kB / 0.5874 GB, free: 1.414 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.578e-05/0.2537, allocations: 106 kB / 0.5875 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.67e-05/0.2538, allocations: 84.12 kB / 0.5875 GB, free: 1.219 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.2541, allocations: 240 kB / 0.5878 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.759e-05/0.2542, allocations: 162.8 kB / 0.5879 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.429e-05/0.2543, allocations: 150.9 kB / 0.5881 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.995e-05/0.2544, allocations: 104.9 kB / 0.5882 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.134e-05/0.2544, allocations: 75.28 kB / 0.5882 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.337e-05/0.2545, allocations: 154.6 kB / 0.5884 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.399e-05/0.2546, allocations: 154.6 kB / 0.5885 GB, free: 152 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.2548, allocations: 150.6 kB / 0.5887 GB, free: 16 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003976/0.2552, allocations: 445.9 kB / 0.5891 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.2553, allocations: 173.1 kB / 0.5893 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.041e-05/0.2554, allocations: 84.19 kB / 0.5893 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.336e-05/0.2555, allocations: 83.22 kB / 0.5894 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.567e-05/0.2555, allocations: 105.8 kB / 0.5895 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 2.204e-06/0.2556, allocations: 0 / 0.5895 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0001134/0.2557, allocations: 33.64 kB / 0.5896 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.247e-05/0.2558, allocations: 130.7 kB / 0.5897 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.2559, allocations: 97.86 kB / 0.5898 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.256, allocations: 25.7 kB / 0.5898 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.256, allocations: 80.14 kB / 0.5899 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.256, allocations: 0 / 0.5899 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.2561, allocations: 13.72 kB / 0.5899 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.2563, allocations: 314.8 kB / 0.5902 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.632e-06/0.2563, allocations: 0 / 0.5902 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.408e-06/0.2563, allocations: 0 / 0.5902 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.339e-05/0.2564, allocations: 79.41 kB / 0.5903 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.181e-05/0.2564, allocations: 75.28 kB / 0.5903 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001023/0.2565, allocations: 41.61 kB / 0.5904 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.831e-05/0.2566, allocations: 83.22 kB / 0.5905 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.064e-05/0.2567, allocations: 79.28 kB / 0.5905 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-05/0.2568, allocations: 150.6 kB / 0.5907 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.073e-05/0.2568, allocations: 79.34 kB / 0.5908 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.497e-05/0.2569, allocations: 158.6 kB / 0.5909 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.2571, allocations: 87.22 kB / 0.591 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/0.2571, allocations: 83.22 kB / 0.5911 GB, free: 13.41 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.0001708/0.2573, allocations: 264.3 kB / 0.5913 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.2575, allocations: 104.9 kB / 0.5914 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.181e-05/0.2576, allocations: 112 kB / 0.5915 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.249e-05/0.2577, allocations: 184.2 kB / 0.5917 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.853e-05/0.2578, allocations: 184.2 kB / 0.5919 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-05/0.2579, allocations: 180.2 kB / 0.592 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000337/0.2582, allocations: 397.2 kB / 0.5924 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.281e-05/0.2583, allocations: 112.9 kB / 0.5925 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.972e-05/0.2584, allocations: 109 kB / 0.5926 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001036/0.2585, allocations: 188.2 kB / 0.5928 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.573e-05/0.2587, allocations: 176.3 kB / 0.593 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.129e-05/0.2588, allocations: 176.3 kB / 0.5932 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.508e-05/0.2589, allocations: 180.2 kB / 0.5933 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.259, allocations: 311.8 kB / 0.5936 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.296e-05/0.2591, allocations: 182 kB / 0.5938 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.2593, allocations: 180.3 kB / 0.594 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.2594, allocations: 108.9 kB / 0.5941 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.406e-05/0.2595, allocations: 176.3 kB / 0.5942 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.428e-05/0.2596, allocations: 116.9 kB / 0.5944 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.112e-05/0.2597, allocations: 75.28 kB / 0.5944 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.71e-07/0.2597, allocations: 0 / 0.5944 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005895/0.2603, allocations: 39.98 kB / 0.5945 GB, free: 9.703 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.001165/0.2615, allocations: 0.9412 MB / 0.5954 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.712e-05/0.2615, allocations: 11.92 kB / 0.5954 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2616, allocations: 0 / 0.5954 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.522e-06/0.2616, allocations: 4 kB / 0.5954 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005619/0.2621, allocations: 459.6 kB / 0.5958 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.2639, allocations: 1.56 MB / 0.5974 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.2642, allocations: 0.6729 MB / 0.598 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.241e-05/0.2643, allocations: 0 / 0.598 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.2643, allocations: 7.438 kB / 0.598 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of SimCode: time 6.21e-07/0.2643, allocations: 0 / 0.598 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1611/0.4254, allocations: 1.845 MB / 0.5998 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.66/17.09, allocations: 6.594 kB / 0.5998 GB, free: 4.262 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_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_GetAltitudeTMY3.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)