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.001123/0.001123, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001103/0.001103, allocations: 193.3 kB / 16.14 MB, free: 6.695 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.175/1.175, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8121/0.8121, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 60.88 kB / 0.5048 GB, free: 5.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1174, allocations: 80.92 MB / 0.5838 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001953/0.1193, allocations: 1.3 MB / 0.5851 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.1205, allocations: 1.001 MB / 0.5861 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.308e-06/0.1206, allocations: 0 / 0.5861 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.339e-05/0.1206, allocations: 0 / 0.5861 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.1209, allocations: 95.72 kB / 0.5862 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.034e-06/0.1209, allocations: 0 / 0.5862 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.332e-05/0.121, allocations: 0 / 0.5862 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.769e-05/0.121, allocations: 4 kB / 0.5862 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.2e-05/0.121, allocations: 0 / 0.5862 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.915e-05/0.1211, allocations: 8 kB / 0.5862 GB, free: 2.457 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.15e-06/0.1211, allocations: 0 / 0.5862 GB, free: 2.457 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.1213, allocations: 107.8 kB / 0.5863 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.223e-06/0.1213, allocations: 7.984 kB / 0.5863 GB, free: 2.344 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.222e-05/0.1213, allocations: 7.875 kB / 0.5863 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.1215, allocations: 95.89 kB / 0.5864 GB, free: 2.242 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1215, allocations: 8 kB / 0.5864 GB, free: 2.234 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1215, allocations: 0 / 0.5864 GB, free: 2.234 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.775e-06/0.1215, allocations: 0 / 0.5864 GB, free: 2.234 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.0002619/0.1218, allocations: 347.5 kB / 0.5867 GB, free: 1.848 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.1218, allocations: 12.03 kB / 0.5867 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.558e-05/0.1219, allocations: 106 kB / 0.5868 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/0.1219, allocations: 80.12 kB / 0.5869 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.122, allocations: 239.9 kB / 0.5871 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.803e-05/0.1221, allocations: 158.9 kB / 0.5873 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/0.1221, allocations: 158.9 kB / 0.5874 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.373e-05/0.1222, allocations: 104.9 kB / 0.5875 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.1222, allocations: 75.28 kB / 0.5876 GB, free: 0.875 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.1222, allocations: 150.6 kB / 0.5877 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.712e-05/0.1223, allocations: 158.5 kB / 0.5879 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.85e-05/0.1223, allocations: 154.5 kB / 0.588 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000215/0.1225, allocations: 446 kB / 0.5885 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.652e-05/0.1226, allocations: 169.1 kB / 0.5886 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.762e-05/0.1226, allocations: 84.14 kB / 0.5887 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.1227, allocations: 79.22 kB / 0.5888 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.1227, allocations: 105.8 kB / 0.5889 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.1227, allocations: 0 / 0.5889 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.241e-05/0.1228, allocations: 41.62 kB / 0.5889 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.1228, allocations: 126.7 kB / 0.5891 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.928e-05/0.1229, allocations: 93.86 kB / 0.5891 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.1229, allocations: 29.7 kB / 0.5892 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.173e-05/0.1229, allocations: 80.14 kB / 0.5892 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.293e-06/0.1229, allocations: 0 / 0.5892 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.752e-05/0.1229, allocations: 9.719 kB / 0.5893 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.738e-05/0.123, allocations: 314.8 kB / 0.5896 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.717e-06/0.123, allocations: 0 / 0.5896 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.198e-06/0.123, allocations: 0 / 0.5896 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.017e-05/0.1231, allocations: 87.34 kB / 0.5896 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.698e-05/0.1231, allocations: 75.28 kB / 0.5897 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.755e-05/0.1231, allocations: 33.62 kB / 0.5897 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.1232, allocations: 83.28 kB / 0.5898 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.1232, allocations: 79.22 kB / 0.5899 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.255e-05/0.1233, allocations: 150.6 kB / 0.59 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.159e-05/0.1233, allocations: 79.22 kB / 0.5901 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.865e-05/0.1233, allocations: 158.6 kB / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.877e-05/0.1234, allocations: 75.28 kB / 0.5903 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.1234, allocations: 91.25 kB / 0.5904 GB, free: 13.84 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 7.671e-05/0.1235, allocations: 260.3 kB / 0.5907 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.612e-05/0.1236, allocations: 108.9 kB / 0.5908 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.335e-05/0.1236, allocations: 112 kB / 0.5909 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-05/0.1236, allocations: 176.3 kB / 0.5911 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.647e-05/0.1237, allocations: 188.2 kB / 0.5912 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.307e-05/0.1237, allocations: 180.3 kB / 0.5914 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.1239, allocations: 393.2 kB / 0.5918 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.862e-05/0.1239, allocations: 108.9 kB / 0.5919 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.124, allocations: 117 kB / 0.592 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.621e-05/0.124, allocations: 184.2 kB / 0.5922 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.39e-05/0.1241, allocations: 176.3 kB / 0.5923 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.253e-05/0.1241, allocations: 176.3 kB / 0.5925 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.112e-05/0.1242, allocations: 184.2 kB / 0.5927 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.901e-05/0.1243, allocations: 311.8 kB / 0.593 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.851e-05/0.1243, allocations: 186 kB / 0.5932 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.981e-05/0.1244, allocations: 180.3 kB / 0.5933 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.58e-05/0.1245, allocations: 108.9 kB / 0.5934 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.1245, allocations: 180.3 kB / 0.5936 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.1245, allocations: 109.4 kB / 0.5937 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.238e-05/0.1246, allocations: 79.28 kB / 0.5938 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1246, allocations: 0 / 0.5938 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000288/0.1249, allocations: 43.92 kB / 0.5938 GB, free: 10.13 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.0006054/0.1255, allocations: 0.9561 MB / 0.5948 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 2.76e-05/0.1255, allocations: 0 / 0.5948 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.1255, allocations: 3.938 kB / 0.5948 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-06/0.1255, allocations: 0 / 0.5948 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.1258, allocations: 0.5263 MB / 0.5953 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008633/0.1267, allocations: 1.553 MB / 0.5968 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.1269, allocations: 0.6692 MB / 0.5974 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.516e-06/0.1269, allocations: 0 / 0.5974 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.678e-05/0.1269, allocations: 11.44 kB / 0.5975 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1269, allocations: 0 / 0.5975 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08494/0.2119, allocations: 1.729 MB / 0.5991 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/0.2121, allocations: 271 kB / 0.5994 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.471/1.683, allocations: 0 / 0.5994 GB, free: 4.406 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)