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.001129/0.001129, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001054/0.001054, allocations: 188.5 kB / 16.25 MB, free: 6.145 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.153/1.153, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6634/0.6634, allocations: 132.2 MB / 422.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 67.97 kB / 0.5014 GB, free: 9.004 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1267, allocations: 80.2 MB / 0.5797 GB, free: 9.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002124/0.1289, allocations: 1.298 MB / 0.581 GB, free: 7.711 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.1302, allocations: 0.9859 MB / 0.5819 GB, free: 6.719 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.196e-05/0.1302, allocations: 0 / 0.5819 GB, free: 6.719 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.916e-05/0.1303, allocations: 0 / 0.5819 GB, free: 6.719 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004097/0.1307, allocations: 99.73 kB / 0.582 GB, free: 6.621 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.346e-06/0.1307, allocations: 0 / 0.582 GB, free: 6.621 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.198e-05/0.1307, allocations: 11.98 kB / 0.582 GB, free: 6.609 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.744e-05/0.1308, allocations: 0 / 0.582 GB, free: 6.609 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.232e-05/0.1308, allocations: 7.875 kB / 0.582 GB, free: 6.602 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.339e-05/0.1309, allocations: 4 kB / 0.582 GB, free: 6.598 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.28e-06/0.1309, allocations: 0 / 0.582 GB, free: 6.598 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.1311, allocations: 107.9 kB / 0.5821 GB, free: 6.492 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.67e-06/0.1311, allocations: 3.984 kB / 0.5821 GB, free: 6.488 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.086e-05/0.1311, allocations: 0 / 0.5821 GB, free: 6.488 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.1313, allocations: 107.8 kB / 0.5822 GB, free: 6.383 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1313, allocations: 8 kB / 0.5822 GB, free: 6.375 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1313, allocations: 0 / 0.5822 GB, free: 6.375 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.1313, allocations: 0 / 0.5822 GB, free: 6.375 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.0002732/0.1316, allocations: 351.4 kB / 0.5826 GB, free: 5.984 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.1316, allocations: 8.031 kB / 0.5826 GB, free: 5.977 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.492e-05/0.1316, allocations: 110 kB / 0.5827 GB, free: 5.859 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.901e-05/0.1317, allocations: 80.22 kB / 0.5828 GB, free: 5.781 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.1318, allocations: 251.9 kB / 0.583 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.198e-05/0.1319, allocations: 154.9 kB / 0.5832 GB, free: 5.344 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.1319, allocations: 150.9 kB / 0.5833 GB, free: 5.195 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.2e-05/0.132, allocations: 104.9 kB / 0.5834 GB, free: 5.086 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.132, allocations: 75.28 kB / 0.5835 GB, free: 5.012 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.086e-05/0.132, allocations: 154.6 kB / 0.5836 GB, free: 4.859 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.602e-05/0.1321, allocations: 154.6 kB / 0.5838 GB, free: 4.707 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.238e-05/0.1321, allocations: 154.5 kB / 0.5839 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002193/0.1324, allocations: 445.9 kB / 0.5843 GB, free: 4.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.501e-05/0.1324, allocations: 165.1 kB / 0.5845 GB, free: 3.898 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.532e-05/0.1325, allocations: 88.14 kB / 0.5846 GB, free: 3.809 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.1325, allocations: 79.22 kB / 0.5847 GB, free: 3.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.1325, allocations: 109.8 kB / 0.5848 GB, free: 3.613 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.1325, allocations: 0 / 0.5848 GB, free: 3.613 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.017e-05/0.1326, allocations: 29.64 kB / 0.5848 GB, free: 3.578 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.1327, allocations: 126.7 kB / 0.5849 GB, free: 3.441 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.019e-05/0.1327, allocations: 101.8 kB / 0.585 GB, free: 3.332 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.1328, allocations: 25.7 kB / 0.585 GB, free: 3.301 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.875e-05/0.1328, allocations: 80.14 kB / 0.5851 GB, free: 3.219 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.413e-06/0.1328, allocations: 0 / 0.5851 GB, free: 3.219 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.926e-05/0.1328, allocations: 13.72 kB / 0.5851 GB, free: 3.199 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.289e-05/0.1329, allocations: 314.8 kB / 0.5854 GB, free: 2.883 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.917e-06/0.1329, allocations: 0 / 0.5854 GB, free: 2.883 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.226e-06/0.1329, allocations: 0 / 0.5854 GB, free: 2.883 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.218e-05/0.133, allocations: 75.41 kB / 0.5855 GB, free: 2.809 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.508e-05/0.133, allocations: 79.28 kB / 0.5856 GB, free: 2.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.211e-05/0.133, allocations: 37.58 kB / 0.5856 GB, free: 2.688 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/0.1331, allocations: 79.28 kB / 0.5857 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.1331, allocations: 79.28 kB / 0.5858 GB, free: 2.531 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.263e-05/0.1332, allocations: 154.5 kB / 0.5859 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.015e-05/0.1332, allocations: 79.22 kB / 0.586 GB, free: 2.301 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-05/0.1332, allocations: 154.6 kB / 0.5861 GB, free: 2.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.553e-05/0.1333, allocations: 83.22 kB / 0.5862 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.1333, allocations: 79.33 kB / 0.5863 GB, free: 1.988 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.18e-05/0.1334, allocations: 268.9 kB / 0.5865 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/0.1335, allocations: 112.8 kB / 0.5867 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.1335, allocations: 108.1 kB / 0.5868 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.814e-05/0.1336, allocations: 180.3 kB / 0.5869 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.827e-05/0.1336, allocations: 188.1 kB / 0.5871 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.092e-05/0.1337, allocations: 176.3 kB / 0.5873 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.1339, allocations: 409.2 kB / 0.5877 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-05/0.1339, allocations: 104.9 kB / 0.5878 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.692e-05/0.134, allocations: 105 kB / 0.5879 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.745e-05/0.134, allocations: 188.2 kB / 0.588 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.294e-05/0.1341, allocations: 180.2 kB / 0.5882 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.083e-05/0.1341, allocations: 180.2 kB / 0.5884 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.256e-05/0.1342, allocations: 176.3 kB / 0.5886 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.472e-05/0.1343, allocations: 307.8 kB / 0.5888 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.1343, allocations: 186 kB / 0.589 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.47e-05/0.1344, allocations: 188.2 kB / 0.5892 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.283e-05/0.1345, allocations: 101 kB / 0.5893 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/0.1345, allocations: 176.7 kB / 0.5895 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.507e-05/0.1346, allocations: 116.9 kB / 0.5896 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.241e-05/0.1346, allocations: 79.28 kB / 0.5897 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1346, allocations: 0 / 0.5897 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002834/0.1349, allocations: 35.98 kB / 0.5897 GB, free: 14.27 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.0006071/0.1355, allocations: 0.9572 MB / 0.5906 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 3.214e-05/0.1355, allocations: 7.938 kB / 0.5906 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.1355, allocations: 0 / 0.5906 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.183e-06/0.1356, allocations: 4 kB / 0.5906 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.1358, allocations: 451.7 kB / 0.5911 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009126/0.1368, allocations: 1.56 MB / 0.5926 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.137, allocations: 0.6806 MB / 0.5933 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.694e-06/0.137, allocations: 0 / 0.5933 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.84e-05/0.137, allocations: 7.438 kB / 0.5933 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.137, allocations: 0 / 0.5933 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01131/0.1483, allocations: 1.766 MB / 0.595 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002344/0.1486, allocations: 264.6 kB / 0.5952 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.465/1.614, allocations: 3.938 kB / 0.5952 GB, free: 8.594 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)