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.0007352/0.0007385, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004909/0.004909, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.287/1.287, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8496/0.8496, allocations: 135.3 MB / 426.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002715/0.0002716, allocations: 8.5 kB / 0.5077 GB, free: 4.613 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1295, allocations: 82.31 MB / 0.5881 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001196/0.1307, allocations: 0.9589 MB / 0.589 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.1321, allocations: 0.9937 MB / 0.59 GB, free: 0.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.538e-06/0.1321, allocations: 0 / 0.59 GB, free: 0.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.093e-05/0.1321, allocations: 0 / 0.59 GB, free: 0.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003355/0.1325, allocations: 91.78 kB / 0.5901 GB, free: 420 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.934e-06/0.1325, allocations: 0 / 0.5901 GB, free: 420 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.669e-05/0.1325, allocations: 3.938 kB / 0.5901 GB, free: 416 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.096e-05/0.1326, allocations: 0 / 0.5901 GB, free: 416 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.524e-05/0.1326, allocations: 7.938 kB / 0.5901 GB, free: 408 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.529e-05/0.1327, allocations: 0 / 0.5901 GB, free: 408 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.381e-06/0.1327, allocations: 0 / 0.5901 GB, free: 408 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002402/0.1329, allocations: 115.8 kB / 0.5902 GB, free: 292 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.298e-06/0.1329, allocations: 4 kB / 0.5902 GB, free: 288 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.133, allocations: 25.7 kB / 0.5902 GB, free: 256 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.1331, allocations: 107.8 kB / 0.5903 GB, free: 148 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.1331, allocations: 0 / 0.5903 GB, free: 148 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1331, allocations: 3.938 kB / 0.5903 GB, free: 144 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.165e-06/0.1332, allocations: 0 / 0.5903 GB, free: 144 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.0003001/0.1335, allocations: 339.6 kB / 0.5907 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.1335, allocations: 12.03 kB / 0.5907 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.677e-05/0.1336, allocations: 110 kB / 0.5908 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.1336, allocations: 80.22 kB / 0.5909 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.1338, allocations: 243.8 kB / 0.5911 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.038e-05/0.1338, allocations: 154.9 kB / 0.5912 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/0.1339, allocations: 154.9 kB / 0.5914 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.114e-05/0.134, allocations: 104.9 kB / 0.5915 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.134, allocations: 79.28 kB / 0.5916 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.921e-05/0.1341, allocations: 154.6 kB / 0.5917 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.982e-05/0.1341, allocations: 150.6 kB / 0.5918 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.915e-05/0.1341, allocations: 154.5 kB / 0.592 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002387/0.1344, allocations: 442 kB / 0.5924 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.371e-05/0.1345, allocations: 177.1 kB / 0.5926 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.607e-05/0.1345, allocations: 80.14 kB / 0.5927 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.1345, allocations: 79.22 kB / 0.5927 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.1346, allocations: 109.8 kB / 0.5928 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.1346, allocations: 0 / 0.5928 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 5.546e-05/0.1346, allocations: 29.7 kB / 0.5929 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.1347, allocations: 130.7 kB / 0.593 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.399e-05/0.1348, allocations: 97.86 kB / 0.5931 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.1348, allocations: 25.7 kB / 0.5931 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.211e-05/0.1348, allocations: 84.12 kB / 0.5932 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.263e-06/0.1349, allocations: 0 / 0.5932 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.694e-05/0.1349, allocations: 9.719 kB / 0.5932 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.135, allocations: 310.8 kB / 0.5935 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.878e-06/0.135, allocations: 4.125 kB / 0.5935 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.214e-06/0.135, allocations: 0 / 0.5935 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.337e-05/0.135, allocations: 79.28 kB / 0.5936 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.866e-05/0.1351, allocations: 75.28 kB / 0.5937 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.941e-05/0.1351, allocations: 33.58 kB / 0.5937 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.1352, allocations: 83.28 kB / 0.5938 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/0.1352, allocations: 83.27 kB / 0.5938 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.468e-05/0.1353, allocations: 154.5 kB / 0.594 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.24e-05/0.1353, allocations: 83.27 kB / 0.5941 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.915e-05/0.1353, allocations: 150.6 kB / 0.5942 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.232e-05/0.1354, allocations: 83.22 kB / 0.5943 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.1354, allocations: 75.28 kB / 0.5944 GB, free: 11.77 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.0001013/0.1355, allocations: 260.4 kB / 0.5946 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.602e-05/0.1356, allocations: 124.9 kB / 0.5947 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/0.1357, allocations: 112 kB / 0.5948 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-05/0.1357, allocations: 180.2 kB / 0.595 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.223e-05/0.1358, allocations: 180.2 kB / 0.5952 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.448e-05/0.1359, allocations: 180.3 kB / 0.5954 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.1361, allocations: 409.2 kB / 0.5957 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.954e-05/0.1361, allocations: 104.9 kB / 0.5958 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.873e-05/0.1362, allocations: 104.9 kB / 0.5959 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-05/0.1362, allocations: 180.3 kB / 0.5961 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.108e-05/0.1363, allocations: 180.3 kB / 0.5963 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-05/0.1363, allocations: 184.2 kB / 0.5965 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.755e-05/0.1364, allocations: 188.3 kB / 0.5966 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.1366, allocations: 295.8 kB / 0.5969 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-05/0.1366, allocations: 194 kB / 0.5971 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.258e-05/0.1367, allocations: 180.2 kB / 0.5973 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.704e-05/0.1368, allocations: 105 kB / 0.5974 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.571e-05/0.1369, allocations: 188.2 kB / 0.5976 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.1369, allocations: 101.5 kB / 0.5977 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.207e-05/0.1369, allocations: 79.27 kB / 0.5977 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1369, allocations: 0 / 0.5977 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002944/0.1372, allocations: 40 kB / 0.5978 GB, free: 8.047 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.0007075/0.138, allocations: 0.9553 MB / 0.5987 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 2.502e-05/0.138, allocations: 0 / 0.5987 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.138, allocations: 0 / 0.5987 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.138, allocations: 0 / 0.5987 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.1384, allocations: 0.5224 MB / 0.5992 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.1394, allocations: 1.563 MB / 0.6007 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.1396, allocations: 0.6731 MB / 0.6014 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.456e-06/0.1396, allocations: 0 / 0.6014 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.745e-05/0.1396, allocations: 7.438 kB / 0.6014 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1397, allocations: 7.938 kB / 0.6014 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1368/0.2765, allocations: 1.638 MB / 0.603 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003268/0.2769, allocations: 277 kB / 0.6033 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/1.787, allocations: 0 / 0.6033 GB, free: 2.43 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)