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.001003/0.001003, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009521/0.000952, allocations: 192.5 kB / 16.25 MB, free: 6.637 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.224/1.224, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8361/0.8361, allocations: 135.1 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 64.34 kB / 0.505 GB, free: 5.527 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1257, allocations: 80.92 MB / 0.584 GB, free: 4.77 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002046/0.1277, allocations: 1.296 MB / 0.5853 GB, free: 3.457 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.1289, allocations: 0.9935 MB / 0.5862 GB, free: 2.457 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.92e-05/0.129, allocations: 0 / 0.5862 GB, free: 2.457 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.41e-05/0.129, allocations: 0 / 0.5862 GB, free: 2.457 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000366/0.1294, allocations: 99.73 kB / 0.5863 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.825e-06/0.1294, allocations: 0 / 0.5863 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.924e-05/0.1294, allocations: 4 kB / 0.5863 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.031e-05/0.1295, allocations: 0 / 0.5863 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.31e-05/0.1295, allocations: 7.938 kB / 0.5863 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.048e-05/0.1296, allocations: 7.984 kB / 0.5863 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.781e-06/0.1296, allocations: 0 / 0.5863 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.1298, allocations: 111.8 kB / 0.5865 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.018e-06/0.1298, allocations: 0 / 0.5865 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.675e-05/0.1298, allocations: 7.938 kB / 0.5865 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.13, allocations: 103.8 kB / 0.5866 GB, free: 2.121 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.13, allocations: 0 / 0.5866 GB, free: 2.121 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.13, allocations: 0 / 0.5866 GB, free: 2.121 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.13, allocations: 0 / 0.5866 GB, free: 2.121 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.0002778/0.1303, allocations: 347.6 kB / 0.5869 GB, free: 1.734 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.1303, allocations: 8.031 kB / 0.5869 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.017e-05/0.1303, allocations: 106 kB / 0.587 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.1304, allocations: 92.11 kB / 0.5871 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.1305, allocations: 239.9 kB / 0.5873 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.015e-05/0.1306, allocations: 154.9 kB / 0.5875 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.3e-05/0.1306, allocations: 154.9 kB / 0.5876 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.745e-05/0.1307, allocations: 112.9 kB / 0.5877 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.1307, allocations: 75.28 kB / 0.5878 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.676e-05/0.1308, allocations: 154.6 kB / 0.5879 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.025e-05/0.1308, allocations: 150.6 kB / 0.5881 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.853e-05/0.1308, allocations: 150.6 kB / 0.5882 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002323/0.1311, allocations: 449.9 kB / 0.5887 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.248e-05/0.1311, allocations: 173.1 kB / 0.5888 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.922e-05/0.1312, allocations: 80.14 kB / 0.5889 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.1312, allocations: 83.22 kB / 0.589 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.1312, allocations: 109.8 kB / 0.5891 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.1313, allocations: 0 / 0.5891 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 5.892e-05/0.1313, allocations: 25.7 kB / 0.5891 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.1314, allocations: 130.6 kB / 0.5892 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.723e-05/0.1315, allocations: 97.84 kB / 0.5893 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.1315, allocations: 25.7 kB / 0.5893 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.416e-05/0.1315, allocations: 84.14 kB / 0.5894 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.1315, allocations: 4 kB / 0.5894 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/0.1315, allocations: 17.78 kB / 0.5894 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.783e-05/0.1316, allocations: 310.8 kB / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.546e-06/0.1316, allocations: 0 / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.134e-06/0.1316, allocations: 0 / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.136e-05/0.1317, allocations: 75.28 kB / 0.5898 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.92e-05/0.1317, allocations: 75.28 kB / 0.5899 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.913e-05/0.1317, allocations: 37.62 kB / 0.5899 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.1318, allocations: 79.28 kB / 0.59 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.1318, allocations: 87.22 kB / 0.5901 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.601e-05/0.1319, allocations: 150.6 kB / 0.5902 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.059e-05/0.1319, allocations: 79.22 kB / 0.5903 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.189e-05/0.1319, allocations: 154.6 kB / 0.5904 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.327e-05/0.132, allocations: 75.28 kB / 0.5905 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.132, allocations: 83.27 kB / 0.5906 GB, free: 13.73 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 8.792e-05/0.1321, allocations: 272.3 kB / 0.5909 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.1322, allocations: 104.9 kB / 0.591 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.91e-05/0.1322, allocations: 116 kB / 0.5911 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.687e-05/0.1323, allocations: 180.2 kB / 0.5912 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.953e-05/0.1323, allocations: 176.3 kB / 0.5914 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.937e-05/0.1324, allocations: 188.2 kB / 0.5916 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.1326, allocations: 397.2 kB / 0.592 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.425e-05/0.1326, allocations: 112.9 kB / 0.5921 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-05/0.1326, allocations: 101 kB / 0.5922 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-05/0.1327, allocations: 184.2 kB / 0.5923 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.227e-05/0.1327, allocations: 188.2 kB / 0.5925 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.635e-05/0.1328, allocations: 176.3 kB / 0.5927 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-05/0.1328, allocations: 180.2 kB / 0.5929 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.133, allocations: 307.8 kB / 0.5932 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.133, allocations: 182 kB / 0.5933 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.215e-05/0.1331, allocations: 188.3 kB / 0.5935 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-05/0.1332, allocations: 105.4 kB / 0.5936 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.1332, allocations: 184.2 kB / 0.5938 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.1332, allocations: 108.9 kB / 0.5939 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.994e-05/0.1333, allocations: 75.28 kB / 0.594 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1333, allocations: 0 / 0.594 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002901/0.1336, allocations: 44.08 kB / 0.594 GB, free: 10.01 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.000614/0.1342, allocations: 0.9439 MB / 0.5949 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 3.09e-05/0.1342, allocations: 4 kB / 0.5949 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.1343, allocations: 4 kB / 0.5949 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.424e-06/0.1343, allocations: 3.938 kB / 0.5949 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.1346, allocations: 463.5 kB / 0.5954 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009064/0.1355, allocations: 1.552 MB / 0.5969 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.1357, allocations: 0.6769 MB / 0.5976 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.155e-06/0.1357, allocations: 0 / 0.5976 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.767e-05/0.1357, allocations: 7.438 kB / 0.5976 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1357, allocations: 0 / 0.5976 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2555/0.3913, allocations: 1.765 MB / 0.5993 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003138/0.3916, allocations: 275.8 kB / 0.5996 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/2.128, allocations: 2.125 kB / 0.5996 GB, free: 4.348 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)