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.001489/0.001489, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001818/0.001818, allocations: 177.3 kB / 15.95 MB, free: 216 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.609/1.609, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.167/1.167, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.000326, allocations: 11.98 kB / 0.5069 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1673, allocations: 82.31 MB / 0.5873 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001188/0.1686, allocations: 0.9706 MB / 0.5882 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.1699, allocations: 0.9452 MB / 0.5892 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.289e-05/0.1699, allocations: 0 / 0.5892 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.072e-05/0.1699, allocations: 0 / 0.5892 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003381/0.1703, allocations: 79.73 kB / 0.5892 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.985e-06/0.1703, allocations: 0 / 0.5892 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.389e-05/0.1703, allocations: 3.984 kB / 0.5892 GB, free: 1.043 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.867e-05/0.1704, allocations: 0 / 0.5892 GB, free: 1.043 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.546e-05/0.1704, allocations: 3.938 kB / 0.5892 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.822e-05/0.1705, allocations: 8 kB / 0.5892 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.733e-06/0.1705, allocations: 4 kB / 0.5893 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.1707, allocations: 87.86 kB / 0.5893 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.416e-06/0.1707, allocations: 0 / 0.5893 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.724e-05/0.1707, allocations: 33.62 kB / 0.5894 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.1709, allocations: 63.94 kB / 0.5894 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1709, allocations: 0 / 0.5894 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1709, allocations: 0 / 0.5894 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1709, allocations: 0 / 0.5894 GB, free: 0.8398 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.0003363/0.1712, allocations: 351.3 kB / 0.5898 GB, free: 460 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.1713, allocations: 12.03 kB / 0.5898 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.542e-05/0.1713, allocations: 113.8 kB / 0.5899 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.872e-05/0.1714, allocations: 79.19 kB / 0.59 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.1716, allocations: 242.6 kB / 0.5902 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.948e-05/0.1716, allocations: 154.6 kB / 0.5903 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.1717, allocations: 158.6 kB / 0.5905 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.473e-05/0.1718, allocations: 101 kB / 0.5906 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.1718, allocations: 79.28 kB / 0.5907 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.1718, allocations: 154.5 kB / 0.5908 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.748e-05/0.1719, allocations: 150.6 kB / 0.591 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.433e-05/0.1719, allocations: 154.5 kB / 0.5911 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000225/0.1722, allocations: 453.9 kB / 0.5915 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.416e-05/0.1722, allocations: 165.1 kB / 0.5917 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.1723, allocations: 75.28 kB / 0.5918 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.1723, allocations: 105.8 kB / 0.5919 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.1723, allocations: 0 / 0.5919 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.57e-05/0.1724, allocations: 33.62 kB / 0.5919 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.1724, allocations: 134.7 kB / 0.592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.65e-05/0.1725, allocations: 93.86 kB / 0.5921 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.1725, allocations: 29.64 kB / 0.5921 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.527e-05/0.1726, allocations: 84.14 kB / 0.5922 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.1726, allocations: 0 / 0.5922 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.1726, allocations: 0 / 0.5922 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.289e-05/0.1727, allocations: 310.8 kB / 0.5925 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-06/0.1727, allocations: 4.125 kB / 0.5925 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.675e-06/0.1727, allocations: 0 / 0.5925 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.115e-05/0.1727, allocations: 75.28 kB / 0.5926 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.925e-05/0.1727, allocations: 79.23 kB / 0.5927 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.147e-05/0.1728, allocations: 37.62 kB / 0.5927 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.1728, allocations: 79.28 kB / 0.5928 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/0.1729, allocations: 79.28 kB / 0.5929 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.636e-05/0.1729, allocations: 158.5 kB / 0.593 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.928e-05/0.1729, allocations: 79.28 kB / 0.5931 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.101e-05/0.173, allocations: 150.6 kB / 0.5932 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.213e-05/0.1731, allocations: 79.22 kB / 0.5933 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.1731, allocations: 79.28 kB / 0.5934 GB, free: 12.55 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 8.811e-05/0.1732, allocations: 274.2 kB / 0.5936 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.1732, allocations: 112.9 kB / 0.5937 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.553e-05/0.1733, allocations: 108.1 kB / 0.5939 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.727e-05/0.1733, allocations: 180.3 kB / 0.594 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.057e-05/0.1734, allocations: 180.2 kB / 0.5942 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.671e-05/0.1734, allocations: 180.2 kB / 0.5944 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.1736, allocations: 409.2 kB / 0.5948 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.054e-05/0.1737, allocations: 102.7 kB / 0.5949 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.637e-05/0.1737, allocations: 108.9 kB / 0.595 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.706e-05/0.1737, allocations: 180.2 kB / 0.5951 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.688e-05/0.1738, allocations: 180.3 kB / 0.5953 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.785e-05/0.1738, allocations: 184.2 kB / 0.5955 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.446e-05/0.1739, allocations: 184.2 kB / 0.5957 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.174, allocations: 303.8 kB / 0.5959 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.697e-05/0.1741, allocations: 182.1 kB / 0.5961 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.696e-05/0.1741, allocations: 192.2 kB / 0.5963 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.27e-05/0.1742, allocations: 105 kB / 0.5964 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/0.1743, allocations: 180.3 kB / 0.5966 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.182e-05/0.1743, allocations: 108.9 kB / 0.5967 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.868e-05/0.1744, allocations: 83.22 kB / 0.5968 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1744, allocations: 0 / 0.5968 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003024/0.1747, allocations: 39.98 kB / 0.5968 GB, free: 8.828 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.0006626/0.1753, allocations: 0.9439 MB / 0.5977 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 3.2e-05/0.1754, allocations: 3.938 kB / 0.5977 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1754, allocations: 4 kB / 0.5977 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.1754, allocations: 0 / 0.5977 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.1756, allocations: 0.532 MB / 0.5982 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005221/0.1762, allocations: 0.519 MB / 0.5987 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.1764, allocations: 0.6732 MB / 0.5994 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.987e-06/0.1764, allocations: 4.094 kB / 0.5994 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.725e-05/0.1764, allocations: 11.44 kB / 0.5994 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1764, allocations: 0 / 0.5994 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01137/0.1878, allocations: 1.633 MB / 0.601 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/0.188, allocations: 239.7 kB / 0.6012 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/1.861, allocations: 2.812 kB / 0.6012 GB, free: 4.367 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: