Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.GetAltitudeTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="IDEAS_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.001289/0.001289, allocations: 100 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.001488/0.001488, allocations: 177.3 kB / 15.94 MB, free: 228 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.966/1.966, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.004/1.004, allocations: 132.2 MB / 423.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000487/0.0004871, allocations: 12 kB / 0.5033 GB, free: 4.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6684/0.6689, allocations: 81.57 MB / 0.583 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001324/0.6703, allocations: 0.9656 MB / 0.5839 GB, free: 3.289 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.6717, allocations: 0.9433 MB / 0.5848 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.328e-05/0.6718, allocations: 0.8438 kB / 0.5848 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.189e-05/0.6718, allocations: 7.938 kB / 0.5848 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004434/0.6723, allocations: 81.42 kB / 0.5849 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.326e-06/0.6723, allocations: 3.938 kB / 0.5849 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.433e-05/0.6723, allocations: 2.125 kB / 0.5849 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.214e-05/0.6724, allocations: 5.844 kB / 0.5849 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.29e-05/0.6724, allocations: 0 / 0.5849 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.67e-05/0.6725, allocations: 2.844 kB / 0.5849 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.693e-06/0.6725, allocations: 0.9688 kB / 0.5849 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002436/0.6728, allocations: 88.98 kB / 0.585 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.102e-06/0.6728, allocations: 0.75 kB / 0.585 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.831e-05/0.6728, allocations: 26.77 kB / 0.585 GB, free: 2.512 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.673, allocations: 76.97 kB / 0.5851 GB, free: 2.484 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.673, allocations: 3.938 kB / 0.5851 GB, free: 2.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.673, allocations: 0 / 0.5851 GB, free: 2.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.673, allocations: 0.625 kB / 0.5851 GB, free: 2.48 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.0002889/0.6733, allocations: 346.3 kB / 0.5855 GB, free: 2.109 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.6734, allocations: 9.703 kB / 0.5855 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.319e-05/0.6734, allocations: 109.8 kB / 0.5856 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.662e-05/0.6735, allocations: 84.47 kB / 0.5857 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.6736, allocations: 247.4 kB / 0.5859 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.6736, allocations: 151.3 kB / 0.586 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.6737, allocations: 151.6 kB / 0.5862 GB, free: 1.336 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.552e-05/0.6737, allocations: 101.6 kB / 0.5863 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.6737, allocations: 76.31 kB / 0.5863 GB, free: 1.156 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.6738, allocations: 155.3 kB / 0.5865 GB, free: 1.004 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/0.6738, allocations: 154.6 kB / 0.5866 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.287e-05/0.6738, allocations: 151.5 kB / 0.5868 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001889/0.674, allocations: 449.9 kB / 0.5872 GB, free: 224 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.632e-05/0.6741, allocations: 166 kB / 0.5874 GB, free: 48 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.814e-05/0.6741, allocations: 80.03 kB / 0.5874 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.6742, allocations: 115 kB / 0.5876 GB, free: 15.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.6742, allocations: 0 / 0.5876 GB, free: 15.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.13e-05/0.6743, allocations: 28.31 kB / 0.5876 GB, free: 15.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/0.6744, allocations: 126.7 kB / 0.5877 GB, free: 15.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.6745, allocations: 98.27 kB / 0.5878 GB, free: 15.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.6745, allocations: 27.11 kB / 0.5878 GB, free: 15.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.818e-05/0.6746, allocations: 84.78 kB / 0.5879 GB, free: 15.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.013e-06/0.6746, allocations: 0 / 0.5879 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-07/0.6746, allocations: 0 / 0.5879 GB, free: 15.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.6747, allocations: 324.7 kB / 0.5882 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.336e-06/0.6747, allocations: 0 / 0.5882 GB, free: 15.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.118e-06/0.6747, allocations: 1.156 kB / 0.5882 GB, free: 15.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.017e-05/0.6748, allocations: 75.28 kB / 0.5883 GB, free: 15.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-05/0.6748, allocations: 84.5 kB / 0.5884 GB, free: 14.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.014e-05/0.6749, allocations: 33.17 kB / 0.5884 GB, free: 14.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.137e-05/0.6749, allocations: 80.7 kB / 0.5885 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.944e-05/0.675, allocations: 76.81 kB / 0.5886 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.113e-05/0.6751, allocations: 159.1 kB / 0.5887 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.578e-05/0.6751, allocations: 77.3 kB / 0.5888 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.158e-05/0.6752, allocations: 160.5 kB / 0.5889 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.819e-05/0.6753, allocations: 84.56 kB / 0.589 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.6753, allocations: 75.89 kB / 0.5891 GB, free: 14.25 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 (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.0001492/0.6755, allocations: 262.9 kB / 0.5893 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.411e-05/0.6755, allocations: 106.9 kB / 0.5894 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.283e-05/0.6756, allocations: 105.6 kB / 0.5895 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-05/0.6757, allocations: 190.3 kB / 0.5897 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.719e-05/0.6758, allocations: 178.2 kB / 0.5899 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.572e-05/0.6759, allocations: 177.5 kB / 0.5901 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.6762, allocations: 405.5 kB / 0.5904 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.12e-05/0.6762, allocations: 103 kB / 0.5905 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.187e-05/0.6763, allocations: 110.3 kB / 0.5906 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.691e-05/0.6764, allocations: 181.9 kB / 0.5908 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.056e-05/0.6764, allocations: 181.7 kB / 0.591 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.986e-05/0.6765, allocations: 182 kB / 0.5912 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.45e-05/0.6766, allocations: 177.8 kB / 0.5913 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.6768, allocations: 310.1 kB / 0.5916 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.677, allocations: 188.9 kB / 0.5918 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.6771, allocations: 182.3 kB / 0.592 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.487e-05/0.6772, allocations: 102.5 kB / 0.5921 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.6773, allocations: 189.5 kB / 0.5923 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.984e-05/0.6773, allocations: 103.5 kB / 0.5924 GB, free: 10.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.685e-05/0.6774, allocations: 81.33 kB / 0.5924 GB, free: 10.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6774, allocations: 3.938 kB / 0.5924 GB, free: 10.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000446/0.6779, allocations: 36.48 kB / 0.5925 GB, free: 10.62 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 (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.001023/0.6789, allocations: 0.9439 MB / 0.5934 GB, free: 9.766 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 4.113e-05/0.679, allocations: 0 / 0.5934 GB, free: 9.766 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.679, allocations: 1.219 kB / 0.5934 GB, free: 9.766 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.384e-06/0.679, allocations: 0 / 0.5934 GB, free: 9.766 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.6794, allocations: 0.5169 MB / 0.5939 GB, free: 9.246 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007539/0.6801, allocations: 0.5358 MB / 0.5944 GB, free: 8.691 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.6804, allocations: 0.6733 MB / 0.5951 GB, free: 7.996 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.469e-05/0.6805, allocations: 1.469 kB / 0.5951 GB, free: 7.996 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.6805, allocations: 8.828 kB / 0.5951 GB, free: 7.988 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.6805, allocations: 1.062 kB / 0.5951 GB, free: 7.988 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01589/0.6964, allocations: 1.629 MB / 0.5967 GB, free: 7.797 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000236/0.6967, allocations: 238.3 kB / 0.5969 GB, free: 7.562 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.066/2.763, allocations: 5.406 kB / 0.5969 GB, free: 7.559 MB / 446.1 MB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) Environment - environmentSimulation: