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: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008552/0.0008553, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.006596/0.006596, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.383/1.383, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9625/0.9625, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005332/0.0005332, allocations: 13.09 kB / 0.5076 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1912, allocations: 82.3 MB / 0.588 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001363/0.1926, allocations: 0.9628 MB / 0.5889 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.1945, allocations: 0.9898 MB / 0.5899 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.321e-05/0.1945, allocations: 0 / 0.5899 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.1945, allocations: 0 / 0.5899 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003847/0.1949, allocations: 87.73 kB / 0.59 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.955e-06/0.1949, allocations: 7.938 kB / 0.59 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.697e-05/0.195, allocations: 0 / 0.59 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.147e-05/0.195, allocations: 4 kB / 0.59 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.956e-05/0.1951, allocations: 3.938 kB / 0.59 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.1952, allocations: 11.92 kB / 0.59 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.945e-06/0.1952, allocations: 0 / 0.59 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.1954, allocations: 107.9 kB / 0.5901 GB, free: 456 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.571e-06/0.1954, allocations: 4 kB / 0.5901 GB, free: 452 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.1954, allocations: 25.7 kB / 0.5901 GB, free: 420 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.1956, allocations: 111.8 kB / 0.5902 GB, free: 308 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1956, allocations: 0 / 0.5902 GB, free: 308 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1956, allocations: 0 / 0.5902 GB, free: 308 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1957, allocations: 0 / 0.5902 GB, free: 308 kB / 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.0003185/0.196, allocations: 339.6 kB / 0.5906 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.196, allocations: 8.031 kB / 0.5906 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.1961, allocations: 80.22 kB / 0.5906 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.1962, allocations: 247.6 kB / 0.5909 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.728e-05/0.1963, allocations: 150.9 kB / 0.591 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.823e-05/0.1964, allocations: 158.9 kB / 0.5912 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.027e-05/0.1964, allocations: 109.1 kB / 0.5913 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.1965, allocations: 79.22 kB / 0.5914 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.563e-05/0.1965, allocations: 158.6 kB / 0.5915 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.776e-05/0.1966, allocations: 150.6 kB / 0.5916 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.026e-05/0.1966, allocations: 150.6 kB / 0.5918 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002571/0.1969, allocations: 442 kB / 0.5922 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.84e-05/0.197, allocations: 169.1 kB / 0.5924 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.12e-05/0.197, allocations: 88.14 kB / 0.5925 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.1971, allocations: 75.28 kB / 0.5925 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.1971, allocations: 117.8 kB / 0.5926 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.1971, allocations: 0 / 0.5926 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.823e-05/0.1972, allocations: 29.64 kB / 0.5927 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.1973, allocations: 126.7 kB / 0.5928 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.921e-05/0.1974, allocations: 97.86 kB / 0.5929 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.1974, allocations: 25.7 kB / 0.5929 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.1974, allocations: 80.14 kB / 0.593 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-06/0.1974, allocations: 0 / 0.593 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-05/0.1974, allocations: 13.72 kB / 0.593 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1975, allocations: 314.8 kB / 0.5933 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.946e-06/0.1976, allocations: 0 / 0.5933 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.908e-06/0.1976, allocations: 3.984 kB / 0.5933 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.197e-05/0.1976, allocations: 79.41 kB / 0.5934 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-05/0.1976, allocations: 75.28 kB / 0.5934 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.163e-05/0.1977, allocations: 37.58 kB / 0.5935 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/0.1977, allocations: 79.28 kB / 0.5936 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.17e-05/0.1978, allocations: 79.22 kB / 0.5936 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.817e-05/0.1978, allocations: 154.6 kB / 0.5938 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.182e-05/0.1979, allocations: 79.22 kB / 0.5939 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-05/0.1979, allocations: 154.6 kB / 0.594 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.252e-05/0.198, allocations: 79.27 kB / 0.5941 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.198, allocations: 83.22 kB / 0.5942 GB, free: 12.04 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.0001026/0.1981, allocations: 260.7 kB / 0.5944 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.1982, allocations: 113 kB / 0.5945 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.362e-05/0.1982, allocations: 112 kB / 0.5946 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.699e-05/0.1983, allocations: 180.3 kB / 0.5948 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.887e-05/0.1984, allocations: 188.2 kB / 0.595 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.713e-05/0.1984, allocations: 176.3 kB / 0.5951 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.1986, allocations: 401.2 kB / 0.5955 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.884e-05/0.1987, allocations: 112.9 kB / 0.5956 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.069e-05/0.1987, allocations: 104.9 kB / 0.5957 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-05/0.1988, allocations: 184.2 kB / 0.5959 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-05/0.1989, allocations: 180.3 kB / 0.5961 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.291e-05/0.1989, allocations: 176.3 kB / 0.5962 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.715e-05/0.199, allocations: 184.2 kB / 0.5964 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.1991, allocations: 307.8 kB / 0.5967 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.1992, allocations: 182 kB / 0.5969 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.505e-05/0.1993, allocations: 184.2 kB / 0.5971 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.615e-05/0.1993, allocations: 104.9 kB / 0.5972 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.1994, allocations: 184.3 kB / 0.5973 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/0.1994, allocations: 109.4 kB / 0.5974 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.495e-05/0.1995, allocations: 79.28 kB / 0.5975 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1995, allocations: 0 / 0.5975 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003155/0.1998, allocations: 35.98 kB / 0.5976 GB, free: 8.328 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.0005123/0.2003, allocations: 333.3 kB / 0.5979 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 3.537e-05/0.2004, allocations: 4 kB / 0.5979 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2004, allocations: 4 kB / 0.5979 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.2004, allocations: 0 / 0.5979 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.2007, allocations: 0.5185 MB / 0.5984 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002412/0.201, allocations: 168.2 kB / 0.5985 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.2012, allocations: 0.6731 MB / 0.5992 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.356e-06/0.2012, allocations: 0 / 0.5992 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.202e-05/0.2012, allocations: 11.44 kB / 0.5992 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.2013, allocations: 0 / 0.5992 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of Templates: time 0.003263/0.2045, allocations: 0.9742 MB / 0.6002 GB, free: 5.648 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (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 & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)