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.0009734/0.0009733, allocations: 108 kB / 15.6 MB, free: 132 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.0009341/0.000934, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.249/1.249, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7121/0.7121, allocations: 132.2 MB / 422.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 68.62 kB / 0.5019 GB, free: 8.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1268, allocations: 80.2 MB / 0.5802 GB, free: 8.672 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002137/0.129, allocations: 1.238 MB / 0.5814 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.1302, allocations: 1.006 MB / 0.5824 GB, free: 6.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.983e-05/0.1302, allocations: 0 / 0.5824 GB, free: 6.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.164e-05/0.1303, allocations: 0 / 0.5824 GB, free: 6.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003491/0.1306, allocations: 111.5 kB / 0.5825 GB, free: 6.301 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.326e-06/0.1306, allocations: 0 / 0.5825 GB, free: 6.301 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.98e-05/0.1307, allocations: 0 / 0.5825 GB, free: 6.301 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.1307, allocations: 11.98 kB / 0.5825 GB, free: 6.289 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.252e-05/0.1307, allocations: 3.938 kB / 0.5825 GB, free: 6.285 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.614e-05/0.1308, allocations: 4 kB / 0.5825 GB, free: 6.281 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.981e-06/0.1308, allocations: 0 / 0.5825 GB, free: 6.281 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.131, allocations: 111.9 kB / 0.5826 GB, free: 6.172 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.683e-06/0.131, allocations: 7.984 kB / 0.5826 GB, free: 6.164 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.03e-05/0.1311, allocations: 3.938 kB / 0.5826 GB, free: 6.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.1312, allocations: 103.8 kB / 0.5827 GB, free: 6.059 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.1312, allocations: 0 / 0.5827 GB, free: 6.059 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1312, allocations: 3.938 kB / 0.5827 GB, free: 6.055 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.1312, allocations: 0 / 0.5827 GB, free: 6.055 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.0002863/0.1315, allocations: 347.6 kB / 0.5831 GB, free: 5.668 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.1316, allocations: 8.031 kB / 0.5831 GB, free: 5.66 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.982e-05/0.1316, allocations: 110 kB / 0.5832 GB, free: 5.543 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.565e-05/0.1317, allocations: 80.22 kB / 0.5833 GB, free: 5.465 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.1318, allocations: 247.8 kB / 0.5835 GB, free: 5.184 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.065e-05/0.1319, allocations: 150.9 kB / 0.5836 GB, free: 5.035 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-05/0.1319, allocations: 158.9 kB / 0.5838 GB, free: 4.879 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.338e-05/0.132, allocations: 108.9 kB / 0.5839 GB, free: 4.766 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.132, allocations: 75.28 kB / 0.584 GB, free: 4.691 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.132, allocations: 154.6 kB / 0.5841 GB, free: 4.539 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.312e-05/0.1321, allocations: 150.6 kB / 0.5843 GB, free: 4.391 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.98e-05/0.1321, allocations: 154.6 kB / 0.5844 GB, free: 4.238 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002313/0.1324, allocations: 442 kB / 0.5848 GB, free: 3.758 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.015e-05/0.1325, allocations: 177.1 kB / 0.585 GB, free: 3.574 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.198e-05/0.1325, allocations: 80.19 kB / 0.5851 GB, free: 3.492 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.1325, allocations: 83.22 kB / 0.5851 GB, free: 3.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.1326, allocations: 109.8 kB / 0.5853 GB, free: 3.293 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.114e-06/0.1326, allocations: 3.984 kB / 0.5853 GB, free: 3.289 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.623e-05/0.1326, allocations: 29.64 kB / 0.5853 GB, free: 3.254 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.1327, allocations: 134.7 kB / 0.5854 GB, free: 3.109 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.662e-05/0.1328, allocations: 93.86 kB / 0.5855 GB, free: 3.008 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.1328, allocations: 25.7 kB / 0.5855 GB, free: 2.977 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.375e-05/0.1328, allocations: 80.14 kB / 0.5856 GB, free: 2.895 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.082e-06/0.1328, allocations: 0 / 0.5856 GB, free: 2.895 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/0.1328, allocations: 17.7 kB / 0.5856 GB, free: 2.871 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.1329, allocations: 310.8 kB / 0.5859 GB, free: 2.559 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.637e-06/0.1329, allocations: 4.125 kB / 0.5859 GB, free: 2.555 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.053e-06/0.1329, allocations: 0 / 0.5859 GB, free: 2.555 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.136e-05/0.133, allocations: 75.28 kB / 0.586 GB, free: 2.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.095e-05/0.133, allocations: 79.28 kB / 0.5861 GB, free: 2.402 MB / 494.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.932e-05/0.133, allocations: 33.64 kB / 0.5861 GB, free: 2.363 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/0.1331, allocations: 79.28 kB / 0.5862 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/0.1331, allocations: 79.22 kB / 0.5863 GB, free: 2.207 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.221e-05/0.1332, allocations: 154.6 kB / 0.5864 GB, free: 2.055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.054e-05/0.1332, allocations: 87.2 kB / 0.5865 GB, free: 1.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.455e-05/0.1332, allocations: 150.7 kB / 0.5866 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.511e-05/0.1333, allocations: 79.3 kB / 0.5867 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.1333, allocations: 79.22 kB / 0.5868 GB, free: 1.664 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.098e-05/0.1334, allocations: 269 kB / 0.587 GB, free: 1.391 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/0.1335, allocations: 108.9 kB / 0.5871 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.72e-05/0.1335, allocations: 116 kB / 0.5872 GB, free: 1.152 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.028e-05/0.1336, allocations: 180.3 kB / 0.5874 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-05/0.1336, allocations: 180.2 kB / 0.5876 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.228e-05/0.1337, allocations: 184.2 kB / 0.5878 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.1339, allocations: 405.2 kB / 0.5882 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.992e-05/0.1339, allocations: 112.9 kB / 0.5883 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.006e-05/0.134, allocations: 101 kB / 0.5884 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.573e-05/0.1341, allocations: 180.2 kB / 0.5885 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.345e-05/0.1341, allocations: 180.3 kB / 0.5887 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.297e-05/0.1342, allocations: 188.2 kB / 0.5889 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.286e-05/0.1342, allocations: 184.2 kB / 0.5891 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.1343, allocations: 303.8 kB / 0.5893 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.1344, allocations: 186 kB / 0.5895 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.144e-05/0.1345, allocations: 176.3 kB / 0.5897 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.88e-05/0.1346, allocations: 112.9 kB / 0.5898 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.1346, allocations: 176.3 kB / 0.59 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.1347, allocations: 104.9 kB / 0.5901 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.989e-05/0.1347, allocations: 87.27 kB / 0.5902 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1347, allocations: 0 / 0.5902 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003038/0.135, allocations: 32 kB / 0.5902 GB, free: 13.95 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.0006271/0.1356, allocations: 0.9437 MB / 0.5911 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 3.001e-05/0.1357, allocations: 0 / 0.5911 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1357, allocations: 3.938 kB / 0.5911 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.133e-06/0.1357, allocations: 0 / 0.5911 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.136, allocations: 469.4 kB / 0.5916 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009515/0.137, allocations: 1.56 MB / 0.5931 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.1372, allocations: 0.6728 MB / 0.5937 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.103e-06/0.1372, allocations: 0 / 0.5937 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.729e-05/0.1372, allocations: 15.42 kB / 0.5938 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1372, allocations: 0 / 0.5938 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.1554, allocations: 1.837 MB / 0.5955 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.628/6.784, allocations: 7.5 kB / 0.5956 GB, free: 8.512 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)