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.0009303/0.0009303, allocations: 108 kB / 15.61 MB, free: 152 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.0009135/0.0009135, allocations: 196 kB / 16.53 MB, free: 6.664 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.22/1.22, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8645/0.8645, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001222, allocations: 59.72 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1339, allocations: 80.93 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002338/0.1363, allocations: 1.228 MB / 0.5857 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.1377, allocations: 1.005 MB / 0.5867 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.1377, allocations: 0 / 0.5867 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.6e-05/0.1377, allocations: 0 / 0.5867 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004152/0.1382, allocations: 119.5 kB / 0.5868 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.967e-06/0.1382, allocations: 4 kB / 0.5868 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.529e-05/0.1382, allocations: 0 / 0.5868 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.456e-05/0.1383, allocations: 3.984 kB / 0.5868 GB, free: 2.078 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.703e-05/0.1383, allocations: 7.938 kB / 0.5868 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.467e-05/0.1384, allocations: 0 / 0.5868 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.312e-06/0.1384, allocations: 4 kB / 0.5868 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001987/0.1386, allocations: 107.9 kB / 0.5869 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.015e-06/0.1386, allocations: 7.984 kB / 0.5869 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.358e-05/0.1387, allocations: 0 / 0.5869 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.1388, allocations: 103.8 kB / 0.587 GB, free: 1.852 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1389, allocations: 0 / 0.587 GB, free: 1.852 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1389, allocations: 8 kB / 0.587 GB, free: 1.844 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1389, allocations: 0 / 0.587 GB, free: 1.844 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.1392, allocations: 343.6 kB / 0.5873 GB, free: 1.461 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1393, allocations: 12.03 kB / 0.5874 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.057e-05/0.1393, allocations: 106 kB / 0.5875 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.569e-05/0.1394, allocations: 80.12 kB / 0.5875 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.1395, allocations: 239.9 kB / 0.5878 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.295e-05/0.1396, allocations: 162.9 kB / 0.5879 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.1396, allocations: 154.9 kB / 0.5881 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.634e-05/0.1397, allocations: 104.9 kB / 0.5882 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.1397, allocations: 79.22 kB / 0.5882 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.701e-05/0.1398, allocations: 150.6 kB / 0.5884 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.02e-05/0.1398, allocations: 150.6 kB / 0.5885 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.957e-05/0.1399, allocations: 158.6 kB / 0.5887 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002471/0.1401, allocations: 442 kB / 0.5891 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.097e-05/0.1402, allocations: 169.1 kB / 0.5893 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.868e-05/0.1402, allocations: 84.12 kB / 0.5893 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.1403, allocations: 91.2 kB / 0.5894 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.1403, allocations: 105.8 kB / 0.5895 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.1403, allocations: 0 / 0.5895 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.724e-05/0.1404, allocations: 29.7 kB / 0.5896 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.1404, allocations: 126.7 kB / 0.5897 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.092e-05/0.1405, allocations: 93.86 kB / 0.5898 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.1405, allocations: 33.83 kB / 0.5898 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.687e-05/0.1406, allocations: 80.14 kB / 0.5899 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-06/0.1406, allocations: 3.938 kB / 0.5899 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/0.1406, allocations: 9.719 kB / 0.5899 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.203e-05/0.1407, allocations: 314.8 kB / 0.5902 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.172e-06/0.1407, allocations: 7.938 kB / 0.5902 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.375e-06/0.1407, allocations: 0 / 0.5902 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.188e-05/0.1408, allocations: 79.28 kB / 0.5903 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.331e-05/0.1408, allocations: 79.28 kB / 0.5903 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.13e-05/0.1408, allocations: 29.64 kB / 0.5904 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.1409, allocations: 83.28 kB / 0.5905 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/0.1409, allocations: 79.22 kB / 0.5905 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-05/0.141, allocations: 154.6 kB / 0.5907 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.028e-05/0.141, allocations: 75.41 kB / 0.5907 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.882e-05/0.141, allocations: 166.5 kB / 0.5909 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.623e-05/0.1411, allocations: 79.28 kB / 0.591 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.1411, allocations: 79.22 kB / 0.5911 GB, free: 13.45 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 9.312e-05/0.1412, allocations: 260.3 kB / 0.5913 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.1413, allocations: 108.9 kB / 0.5914 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.046e-05/0.1413, allocations: 112 kB / 0.5915 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.084e-05/0.1414, allocations: 188.2 kB / 0.5917 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.343e-05/0.1415, allocations: 176.3 kB / 0.5919 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.272e-05/0.1415, allocations: 184.2 kB / 0.592 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.1417, allocations: 401.2 kB / 0.5924 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.061e-05/0.1418, allocations: 108.9 kB / 0.5925 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.431e-05/0.1418, allocations: 108.9 kB / 0.5926 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.021e-05/0.1418, allocations: 180.3 kB / 0.5928 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.961e-05/0.1419, allocations: 180.2 kB / 0.593 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.262e-05/0.142, allocations: 180.2 kB / 0.5931 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.252e-05/0.142, allocations: 180.3 kB / 0.5933 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.1421, allocations: 307.8 kB / 0.5936 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.559e-05/0.1422, allocations: 186 kB / 0.5938 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.25e-05/0.1423, allocations: 180.2 kB / 0.594 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.921e-05/0.1423, allocations: 105 kB / 0.5941 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.1424, allocations: 184.2 kB / 0.5942 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.1424, allocations: 101 kB / 0.5943 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.625e-05/0.1425, allocations: 79.28 kB / 0.5944 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1425, allocations: 0 / 0.5944 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000302/0.1428, allocations: 43.98 kB / 0.5945 GB, free: 9.746 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.0006887/0.1435, allocations: 0.9623 MB / 0.5954 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 3.332e-05/0.1435, allocations: 0 / 0.5954 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1435, allocations: 0 / 0.5954 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.1435, allocations: 0 / 0.5954 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.1439, allocations: 463.6 kB / 0.5958 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009829/0.1449, allocations: 1.56 MB / 0.5974 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.1451, allocations: 0.669 MB / 0.598 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.237e-06/0.1451, allocations: 0 / 0.598 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.041e-05/0.1451, allocations: 11.44 kB / 0.598 GB, free: 6 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1451, allocations: 0 / 0.598 GB, free: 6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/0.1628, allocations: 1.85 MB / 0.5998 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.839/8.002, allocations: 8.469 kB / 0.5998 GB, free: 4.293 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/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)