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.0007322/0.0007362, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008255/0.0008256, allocations: 168.7 kB / 15.95 MB, free: 200 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.316/1.316, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7171/0.7171, allocations: 132.3 MB / 423.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005669/0.0005671, allocations: 8.562 kB / 0.5035 GB, free: 4.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4496/0.4502, allocations: 81.57 MB / 0.5832 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.00128/0.4516, allocations: 0.9717 MB / 0.5841 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.4529, allocations: 0.9448 MB / 0.585 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.378e-05/0.4529, allocations: 0 / 0.585 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.223e-05/0.4529, allocations: 0 / 0.585 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004115/0.4534, allocations: 86.78 kB / 0.5851 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.896e-06/0.4534, allocations: 0 / 0.5851 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.3e-05/0.4534, allocations: 1.406 kB / 0.5851 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.79e-05/0.4535, allocations: 2.172 kB / 0.5851 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.48e-05/0.4535, allocations: 5.5 kB / 0.5851 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.738e-05/0.4536, allocations: 7.312 kB / 0.5851 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.452e-06/0.4536, allocations: 0 / 0.5851 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.4538, allocations: 105.9 kB / 0.5852 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.246e-06/0.4538, allocations: 0 / 0.5852 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.229e-05/0.4538, allocations: 26.45 kB / 0.5853 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.454, allocations: 72.72 kB / 0.5853 GB, free: 2.477 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.454, allocations: 3.938 kB / 0.5853 GB, free: 2.473 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.454, allocations: 0 / 0.5853 GB, free: 2.473 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.454, allocations: 5.125 kB / 0.5853 GB, free: 2.469 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.0002333/0.4543, allocations: 342 kB / 0.5857 GB, free: 2.102 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.4543, allocations: 8.688 kB / 0.5857 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.322e-05/0.4543, allocations: 111.4 kB / 0.5858 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.4544, allocations: 83.14 kB / 0.5859 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.743e-05/0.4545, allocations: 240.7 kB / 0.5861 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.4545, allocations: 154.5 kB / 0.5862 GB, free: 1.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.4545, allocations: 151.3 kB / 0.5864 GB, free: 1.332 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.639e-05/0.4546, allocations: 101.9 kB / 0.5865 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.4546, allocations: 80.78 kB / 0.5866 GB, free: 1.148 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.4546, allocations: 151.4 kB / 0.5867 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.4547, allocations: 150.6 kB / 0.5868 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.137e-05/0.4547, allocations: 155.3 kB / 0.587 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.4548, allocations: 449.3 kB / 0.5874 GB, free: 220 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.602e-05/0.4549, allocations: 174 kB / 0.5876 GB, free: 36 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.649e-05/0.455, allocations: 81.36 kB / 0.5877 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.455, allocations: 76.08 kB / 0.5877 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.455, allocations: 106.7 kB / 0.5878 GB, free: 15.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.455, allocations: 3.938 kB / 0.5878 GB, free: 15.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.632e-05/0.4551, allocations: 39.61 kB / 0.5879 GB, free: 15.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.4552, allocations: 128.1 kB / 0.588 GB, free: 15.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.805e-05/0.4553, allocations: 98.31 kB / 0.5881 GB, free: 15.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.4553, allocations: 25.7 kB / 0.5881 GB, free: 15.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.878e-05/0.4553, allocations: 81.11 kB / 0.5882 GB, free: 15.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.4553, allocations: 0 / 0.5882 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.4553, allocations: 0 / 0.5882 GB, free: 15.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.4555, allocations: 320.6 kB / 0.5885 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.935e-06/0.4555, allocations: 0 / 0.5885 GB, free: 15.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.136e-06/0.4555, allocations: 2.031 kB / 0.5885 GB, free: 15.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.558e-05/0.4555, allocations: 75.28 kB / 0.5886 GB, free: 14.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.598e-05/0.4555, allocations: 75.28 kB / 0.5886 GB, free: 14.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.065e-05/0.4556, allocations: 34.19 kB / 0.5887 GB, free: 14.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/0.4556, allocations: 80.28 kB / 0.5888 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.839e-05/0.4557, allocations: 81.34 kB / 0.5888 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.304e-05/0.4557, allocations: 154.6 kB / 0.589 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.959e-05/0.4558, allocations: 85.39 kB / 0.5891 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.609e-05/0.4558, allocations: 152.1 kB / 0.5892 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.973e-05/0.4559, allocations: 81.06 kB / 0.5893 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.4559, allocations: 76.53 kB / 0.5894 GB, free: 14.18 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.0001111/0.4561, allocations: 268 kB / 0.5896 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.049e-05/0.4561, allocations: 102.7 kB / 0.5897 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.925e-05/0.4562, allocations: 115.2 kB / 0.5898 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.478e-05/0.4563, allocations: 181 kB / 0.59 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.298e-05/0.4563, allocations: 185.9 kB / 0.5902 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.9e-05/0.4564, allocations: 178.4 kB / 0.5903 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.4566, allocations: 408.7 kB / 0.5907 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.179e-05/0.4567, allocations: 107 kB / 0.5908 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/0.4567, allocations: 105.7 kB / 0.5909 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.548e-05/0.4568, allocations: 182.4 kB / 0.5911 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.215e-05/0.4568, allocations: 178.3 kB / 0.5913 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.772e-05/0.4569, allocations: 178.4 kB / 0.5914 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-05/0.457, allocations: 184.9 kB / 0.5916 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.4571, allocations: 309.4 kB / 0.5919 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.652e-05/0.4572, allocations: 180.9 kB / 0.5921 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.301e-05/0.4573, allocations: 182.9 kB / 0.5923 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.001e-05/0.4574, allocations: 114.5 kB / 0.5924 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/0.4575, allocations: 178.1 kB / 0.5925 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.892e-05/0.4575, allocations: 106.7 kB / 0.5926 GB, free: 10.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.798e-05/0.4576, allocations: 77.89 kB / 0.5927 GB, free: 10.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4576, allocations: 0 / 0.5927 GB, free: 10.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003394/0.4579, allocations: 38.94 kB / 0.5928 GB, free: 10.54 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.0007969/0.4587, allocations: 0.951 MB / 0.5937 GB, free: 9.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 3.969e-05/0.4588, allocations: 3.938 kB / 0.5937 GB, free: 9.676 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4588, allocations: 0 / 0.5937 GB, free: 9.676 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.4588, allocations: 1.031 kB / 0.5937 GB, free: 9.676 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.4591, allocations: 0.521 MB / 0.5942 GB, free: 9.152 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006463/0.4598, allocations: 0.5338 MB / 0.5947 GB, free: 8.602 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.46, allocations: 0.6773 MB / 0.5954 GB, free: 7.902 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.024e-05/0.46, allocations: 3.938 kB / 0.5954 GB, free: 7.898 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.184e-05/0.4601, allocations: 9.422 kB / 0.5954 GB, free: 7.891 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4601, allocations: 0 / 0.5954 GB, free: 7.891 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01257/0.4727, allocations: 1.633 MB / 0.597 GB, free: 7.703 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/0.4729, allocations: 250.5 kB / 0.5972 GB, free: 7.422 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/2.139, allocations: 0.9062 kB / 0.5972 GB, free: 7.422 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: