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.0007874/0.000791, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008473/0.0008474, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.04/1.04, allocations: 135.3 MB / 426.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003345, allocations: 8 kB / 0.5071 GB, free: 5.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1933, allocations: 82.31 MB / 0.5875 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001402/0.1947, allocations: 0.9667 MB / 0.5884 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.1961, allocations: 0.943 MB / 0.5893 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.1962, allocations: 7.938 kB / 0.5893 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.269e-05/0.1962, allocations: 0 / 0.5893 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.1965, allocations: 79.8 kB / 0.5894 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.084e-06/0.1965, allocations: 4 kB / 0.5894 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.012e-05/0.1966, allocations: 3.938 kB / 0.5894 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.943e-05/0.1966, allocations: 0 / 0.5894 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.391e-05/0.1966, allocations: 4 kB / 0.5894 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.163e-05/0.1967, allocations: 3.984 kB / 0.5894 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.453e-06/0.1967, allocations: 0 / 0.5894 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.1969, allocations: 103.9 kB / 0.5895 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.346e-06/0.1969, allocations: 0 / 0.5895 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.197, allocations: 25.7 kB / 0.5896 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.1971, allocations: 75.84 kB / 0.5896 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1971, allocations: 0 / 0.5896 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1971, allocations: 8 kB / 0.5896 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.1971, allocations: 0 / 0.5896 GB, free: 0.6211 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.0004002/0.1975, allocations: 343.4 kB / 0.59 GB, free: 244 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.1976, allocations: 8.031 kB / 0.59 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.81e-05/0.1977, allocations: 113.8 kB / 0.5901 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.372e-05/0.1978, allocations: 83.19 kB / 0.5902 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.198, allocations: 238.6 kB / 0.5904 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.994e-05/0.1981, allocations: 154.6 kB / 0.5905 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.1982, allocations: 150.6 kB / 0.5907 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.1983, allocations: 101 kB / 0.5908 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.223e-05/0.1984, allocations: 79.28 kB / 0.5909 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/0.1985, allocations: 158.5 kB / 0.591 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.764e-05/0.1986, allocations: 154.6 kB / 0.5911 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.1988, allocations: 154.6 kB / 0.5913 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004629/0.1992, allocations: 449.9 kB / 0.5917 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.1994, allocations: 169.1 kB / 0.5919 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.061e-05/0.1994, allocations: 84.14 kB / 0.592 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/0.1995, allocations: 83.22 kB / 0.592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/0.1996, allocations: 105.8 kB / 0.5921 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.1996, allocations: 0 / 0.5921 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.09e-05/0.1997, allocations: 25.7 kB / 0.5922 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.571e-05/0.1998, allocations: 130.7 kB / 0.5923 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.2, allocations: 97.86 kB / 0.5924 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.2, allocations: 29.83 kB / 0.5924 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.2, allocations: 80.14 kB / 0.5925 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-06/0.2, allocations: 0 / 0.5925 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1e-07/0.2, allocations: 3.938 kB / 0.5925 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002326/0.2003, allocations: 318.8 kB / 0.5928 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.599e-06/0.2003, allocations: 0 / 0.5928 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.77e-06/0.2003, allocations: 3.938 kB / 0.5928 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.985e-05/0.2004, allocations: 75.28 kB / 0.5929 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.439e-05/0.2004, allocations: 79.28 kB / 0.593 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.954e-05/0.2005, allocations: 29.7 kB / 0.593 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.002e-05/0.2005, allocations: 83.27 kB / 0.5931 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.716e-05/0.2006, allocations: 79.28 kB / 0.5931 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.011e-05/0.2007, allocations: 154.5 kB / 0.5933 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.194e-05/0.2007, allocations: 79.28 kB / 0.5934 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.156e-05/0.2008, allocations: 154.5 kB / 0.5935 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.185e-05/0.2009, allocations: 79.28 kB / 0.5936 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/0.2009, allocations: 75.28 kB / 0.5937 GB, free: 12.26 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.2011, allocations: 276.2 kB / 0.5939 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.982e-05/0.2012, allocations: 109 kB / 0.594 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.542e-05/0.2012, allocations: 104.1 kB / 0.5941 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001004/0.2013, allocations: 184.2 kB / 0.5943 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.192e-05/0.2014, allocations: 180.3 kB / 0.5945 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-05/0.2015, allocations: 184.2 kB / 0.5946 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.2018, allocations: 405.1 kB / 0.595 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.701e-05/0.2019, allocations: 105 kB / 0.5951 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.344e-05/0.2019, allocations: 104.9 kB / 0.5952 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.935e-05/0.202, allocations: 184.2 kB / 0.5954 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/0.2022, allocations: 180.2 kB / 0.5956 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001041/0.2023, allocations: 180.3 kB / 0.5958 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.339e-05/0.2024, allocations: 180.3 kB / 0.5959 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.2026, allocations: 307.8 kB / 0.5962 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.2028, allocations: 190 kB / 0.5964 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.2029, allocations: 176.3 kB / 0.5966 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.838e-05/0.203, allocations: 113 kB / 0.5967 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.885e-05/0.2031, allocations: 180.2 kB / 0.5968 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.2032, allocations: 101 kB / 0.5969 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.843e-05/0.2033, allocations: 83.28 kB / 0.597 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2033, allocations: 0 / 0.597 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003947/0.2037, allocations: 47.92 kB / 0.5971 GB, free: 8.535 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000812/0.2045, allocations: 0.9447 MB / 0.598 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 3.591e-05/0.2045, allocations: 0 / 0.598 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2045, allocations: 0 / 0.598 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.2046, allocations: 0 / 0.598 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.205, allocations: 0.5282 MB / 0.5985 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007209/0.2057, allocations: 0.5229 MB / 0.599 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.206, allocations: 0.6771 MB / 0.5997 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.135e-05/0.2061, allocations: 0 / 0.5997 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.2061, allocations: 11.38 kB / 0.5997 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.2061, allocations: 0 / 0.5997 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01501/0.2211, allocations: 1.647 MB / 0.6013 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/0.2214, allocations: 256.9 kB / 0.6015 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/1.934, allocations: 4 kB / 0.6015 GB, free: 4.023 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) Environment - environmentSimulation: