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.001193/0.001193, 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.001036/0.001036, allocations: 193.8 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 1.234/1.234, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6923/0.6923, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 63.91 kB / 0.5019 GB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3157, allocations: 80.2 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002127/0.3178, allocations: 1.242 MB / 0.5814 GB, free: 3.688 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.319, allocations: 1.006 MB / 0.5824 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.505e-05/0.3191, allocations: 0 / 0.5824 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.278e-05/0.3191, allocations: 4.656 kB / 0.5824 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003835/0.3195, allocations: 108.1 kB / 0.5825 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.436e-06/0.3195, allocations: 0 / 0.5825 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.127e-05/0.3195, allocations: 5.312 kB / 0.5825 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.392e-05/0.3196, allocations: 6.031 kB / 0.5825 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.291e-05/0.3196, allocations: 5.312 kB / 0.5825 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.863e-05/0.3197, allocations: 7.484 kB / 0.5825 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.57e-06/0.3197, allocations: 0 / 0.5825 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.3199, allocations: 112.6 kB / 0.5826 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.118e-06/0.3199, allocations: 1.188 kB / 0.5826 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.459e-05/0.3199, allocations: 4 kB / 0.5826 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.3201, allocations: 107.5 kB / 0.5827 GB, free: 2.828 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3201, allocations: 2.109 kB / 0.5827 GB, free: 2.828 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3201, allocations: 0 / 0.5827 GB, free: 2.828 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.3201, allocations: 0 / 0.5827 GB, free: 2.828 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.0002174/0.3203, allocations: 347.6 kB / 0.5831 GB, free: 2.457 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.3204, allocations: 9.375 kB / 0.5831 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.189e-05/0.3204, allocations: 110.7 kB / 0.5832 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.3204, allocations: 76.94 kB / 0.5833 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.894e-05/0.3205, allocations: 245.6 kB / 0.5835 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.3205, allocations: 151.6 kB / 0.5836 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.3206, allocations: 151.8 kB / 0.5838 GB, free: 1.695 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.138e-05/0.3206, allocations: 105.4 kB / 0.5839 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3206, allocations: 80.25 kB / 0.584 GB, free: 1.508 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.3206, allocations: 158.6 kB / 0.5841 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.3207, allocations: 152.9 kB / 0.5843 GB, free: 1.203 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.635e-05/0.3207, allocations: 158.4 kB / 0.5844 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.3208, allocations: 440.9 kB / 0.5848 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.238e-05/0.3209, allocations: 175.3 kB / 0.585 GB, free: 400 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.171e-05/0.3209, allocations: 80.14 kB / 0.5851 GB, free: 316 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.3209, allocations: 79.22 kB / 0.5852 GB, free: 236 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.3209, allocations: 111.4 kB / 0.5853 GB, free: 116 kB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.3209, allocations: 1.312 kB / 0.5853 GB, free: 116 kB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 5.082e-05/0.321, allocations: 27.12 kB / 0.5853 GB, free: 84 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.321, allocations: 130.7 kB / 0.5854 GB, free: 15.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.108e-05/0.3211, allocations: 99.27 kB / 0.5855 GB, free: 15.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.3211, allocations: 25.7 kB / 0.5855 GB, free: 15.81 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.559e-05/0.3211, allocations: 81.05 kB / 0.5856 GB, free: 15.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.3212, allocations: 0 / 0.5856 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/0.3212, allocations: 11.78 kB / 0.5856 GB, free: 15.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.033e-05/0.3213, allocations: 313.1 kB / 0.5859 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.417e-06/0.3213, allocations: 128 / 0.5859 GB, free: 15.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.447e-06/0.3213, allocations: 8 kB / 0.5859 GB, free: 15.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.956e-05/0.3213, allocations: 75.98 kB / 0.586 GB, free: 15.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.011e-05/0.3213, allocations: 75.94 kB / 0.5861 GB, free: 15.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.101e-05/0.3214, allocations: 36.34 kB / 0.5861 GB, free: 15.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.3214, allocations: 82.09 kB / 0.5862 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/0.3215, allocations: 79.28 kB / 0.5863 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.321e-05/0.3215, allocations: 156.6 kB / 0.5864 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.953e-05/0.3215, allocations: 80.88 kB / 0.5865 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.045e-05/0.3216, allocations: 156 kB / 0.5866 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.313e-05/0.3216, allocations: 80.44 kB / 0.5867 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.3217, allocations: 76.69 kB / 0.5868 GB, free: 14.52 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.289e-05/0.3218, allocations: 260.2 kB / 0.587 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.125e-05/0.3218, allocations: 118.8 kB / 0.5871 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/0.3219, allocations: 106.2 kB / 0.5872 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-05/0.3219, allocations: 182.3 kB / 0.5874 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.585e-05/0.322, allocations: 178 kB / 0.5876 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-05/0.322, allocations: 182.2 kB / 0.5878 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.3222, allocations: 408.7 kB / 0.5882 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.794e-05/0.3222, allocations: 110.5 kB / 0.5883 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.798e-05/0.3223, allocations: 106.7 kB / 0.5884 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-05/0.3223, allocations: 178.3 kB / 0.5885 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.807e-05/0.3224, allocations: 178.1 kB / 0.5887 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.472e-05/0.3224, allocations: 182.2 kB / 0.5889 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.564e-05/0.3225, allocations: 186.3 kB / 0.589 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.554e-05/0.3226, allocations: 304.2 kB / 0.5893 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.3226, allocations: 184.9 kB / 0.5895 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.48e-05/0.3227, allocations: 190.6 kB / 0.5897 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.317e-05/0.3227, allocations: 102.2 kB / 0.5898 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.3228, allocations: 190.7 kB / 0.59 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.3228, allocations: 101.5 kB / 0.5901 GB, free: 10.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.973e-05/0.3229, allocations: 78.61 kB / 0.5901 GB, free: 10.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3229, allocations: 0 / 0.5901 GB, free: 10.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003025/0.3232, allocations: 39.64 kB / 0.5902 GB, free: 10.87 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 (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.0005969/0.3238, allocations: 0.948 MB / 0.5911 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 3.208e-05/0.3238, allocations: 1.469 kB / 0.5911 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3238, allocations: 0 / 0.5911 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.3238, allocations: 0 / 0.5911 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.3241, allocations: 460.2 kB / 0.5916 GB, free: 9.566 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009007/0.325, allocations: 1.551 MB / 0.5931 GB, free: 7.984 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.3252, allocations: 0.672 MB / 0.5937 GB, free: 7.289 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.644e-06/0.3252, allocations: 1.312 kB / 0.5937 GB, free: 7.289 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.857e-05/0.3253, allocations: 8.75 kB / 0.5937 GB, free: 7.281 MB / 446.1 MB Notification: Performance of SimCode: time 1.683e-06/0.3253, allocations: 0 / 0.5937 GB, free: 7.281 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1612/0.4865, allocations: 1.854 MB / 0.5955 GB, free: 6.852 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.174/7.66, allocations: 5.688 kB / 0.5955 GB, free: 6.848 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/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)