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.001047/0.001047, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009953/0.0009953, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.236/1.236, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7089/0.7089, allocations: 132.2 MB / 422.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 60.12 kB / 0.5012 GB, free: 9.105 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1227, allocations: 80.2 MB / 0.5795 GB, free: 9.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001969/0.1247, allocations: 1.302 MB / 0.5808 GB, free: 7.809 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1259, allocations: 1.005 MB / 0.5818 GB, free: 6.797 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.397e-06/0.1259, allocations: 4 kB / 0.5818 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.55e-05/0.126, allocations: 0 / 0.5818 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.1263, allocations: 91.72 kB / 0.5818 GB, free: 6.703 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.114e-06/0.1263, allocations: 0 / 0.5818 GB, free: 6.703 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.175e-05/0.1263, allocations: 0 / 0.5818 GB, free: 6.703 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.901e-05/0.1263, allocations: 0 / 0.5818 GB, free: 6.703 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.141e-05/0.1264, allocations: 7.938 kB / 0.5819 GB, free: 6.695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.737e-05/0.1264, allocations: 1.875 kB / 0.5819 GB, free: 6.695 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.079e-06/0.1265, allocations: 4 kB / 0.5819 GB, free: 6.691 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.1266, allocations: 119.8 kB / 0.582 GB, free: 6.574 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.298e-06/0.1266, allocations: 0 / 0.582 GB, free: 6.574 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.02e-05/0.1267, allocations: 0 / 0.582 GB, free: 6.574 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.1268, allocations: 107.8 kB / 0.5821 GB, free: 6.469 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1268, allocations: 0 / 0.5821 GB, free: 6.469 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.1268, allocations: 0 / 0.5821 GB, free: 6.469 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.745e-06/0.1268, allocations: 0 / 0.5821 GB, free: 6.469 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.0002652/0.1271, allocations: 347.5 kB / 0.5824 GB, free: 6.082 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.1271, allocations: 8.031 kB / 0.5824 GB, free: 6.074 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.188e-05/0.1272, allocations: 110 kB / 0.5825 GB, free: 5.957 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.203e-05/0.1273, allocations: 80.22 kB / 0.5826 GB, free: 5.879 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.1274, allocations: 239.9 kB / 0.5828 GB, free: 5.605 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.141e-05/0.1274, allocations: 150.9 kB / 0.583 GB, free: 5.457 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.1275, allocations: 154.9 kB / 0.5831 GB, free: 5.305 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.807e-05/0.1275, allocations: 108.9 kB / 0.5832 GB, free: 5.191 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.1275, allocations: 83.28 kB / 0.5833 GB, free: 5.109 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.676e-05/0.1276, allocations: 154.6 kB / 0.5834 GB, free: 4.957 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.131e-05/0.1276, allocations: 150.6 kB / 0.5836 GB, free: 4.809 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.125e-05/0.1277, allocations: 150.6 kB / 0.5837 GB, free: 4.66 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000206/0.1279, allocations: 441.9 kB / 0.5842 GB, free: 4.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.781e-05/0.128, allocations: 177.1 kB / 0.5843 GB, free: 3.996 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.662e-05/0.128, allocations: 88.08 kB / 0.5844 GB, free: 3.906 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.128, allocations: 79.22 kB / 0.5845 GB, free: 3.828 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.1281, allocations: 105.8 kB / 0.5846 GB, free: 3.715 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.1281, allocations: 0 / 0.5846 GB, free: 3.715 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.607e-05/0.1281, allocations: 29.7 kB / 0.5846 GB, free: 3.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.1282, allocations: 130.6 kB / 0.5847 GB, free: 3.539 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.976e-05/0.1282, allocations: 101.8 kB / 0.5848 GB, free: 3.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.1283, allocations: 25.7 kB / 0.5849 GB, free: 3.398 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.102e-05/0.1283, allocations: 80.14 kB / 0.5849 GB, free: 3.316 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.132e-06/0.1283, allocations: 0 / 0.5849 GB, free: 3.316 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.736e-05/0.1283, allocations: 13.72 kB / 0.5849 GB, free: 3.297 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.126e-05/0.1284, allocations: 315 kB / 0.5853 GB, free: 2.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.725e-06/0.1284, allocations: 0 / 0.5853 GB, free: 2.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.984e-06/0.1284, allocations: 0 / 0.5853 GB, free: 2.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.968e-05/0.1284, allocations: 75.28 kB / 0.5853 GB, free: 2.906 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/0.1285, allocations: 79.28 kB / 0.5854 GB, free: 2.828 MB / 494.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.87e-05/0.1285, allocations: 33.64 kB / 0.5854 GB, free: 2.789 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.1285, allocations: 87.27 kB / 0.5855 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/0.1286, allocations: 83.22 kB / 0.5856 GB, free: 2.621 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.341e-05/0.1286, allocations: 154.6 kB / 0.5857 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.953e-05/0.1286, allocations: 79.22 kB / 0.5858 GB, free: 2.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.704e-05/0.1287, allocations: 150.6 kB / 0.586 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.873e-05/0.1287, allocations: 75.28 kB / 0.586 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.1288, allocations: 87.27 kB / 0.5861 GB, free: 2.082 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 8.246e-05/0.1289, allocations: 269 kB / 0.5864 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.1289, allocations: 108.9 kB / 0.5865 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.575e-05/0.129, allocations: 112 kB / 0.5866 GB, free: 1.574 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.35e-05/0.129, allocations: 176.3 kB / 0.5867 GB, free: 1.395 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.543e-05/0.1291, allocations: 180.2 kB / 0.5869 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.482e-05/0.1291, allocations: 180.2 kB / 0.5871 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.1293, allocations: 409.2 kB / 0.5875 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.704e-05/0.1293, allocations: 108.9 kB / 0.5876 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.728e-05/0.1293, allocations: 101 kB / 0.5877 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.724e-05/0.1294, allocations: 184.2 kB / 0.5879 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.605e-05/0.1295, allocations: 180.2 kB / 0.588 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.463e-05/0.1295, allocations: 180.3 kB / 0.5882 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-05/0.1296, allocations: 184.2 kB / 0.5884 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.252e-05/0.1297, allocations: 303.8 kB / 0.5887 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-05/0.1297, allocations: 186 kB / 0.5888 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.111e-05/0.1298, allocations: 184.3 kB / 0.589 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.632e-05/0.1298, allocations: 108.9 kB / 0.5891 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.1299, allocations: 180.2 kB / 0.5893 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.1299, allocations: 113.3 kB / 0.5894 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.717e-05/0.13, allocations: 75.28 kB / 0.5895 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.13, allocations: 0 / 0.5895 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002925/0.1303, allocations: 43.98 kB / 0.5895 GB, free: 14.36 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.0005761/0.1308, allocations: 0.9485 MB / 0.5904 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 2.397e-05/0.1309, allocations: 0 / 0.5904 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1309, allocations: 4 kB / 0.5904 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.485e-06/0.1309, allocations: 3.938 kB / 0.5905 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.1312, allocations: 0.5277 MB / 0.591 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008698/0.1321, allocations: 1.557 MB / 0.5925 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.1323, allocations: 0.677 MB / 0.5931 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.705e-06/0.1323, allocations: 0 / 0.5931 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.375e-05/0.1323, allocations: 7.438 kB / 0.5932 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1323, allocations: 4.031 kB / 0.5932 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4549/0.5872, allocations: 1.72 MB / 0.5948 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002972/0.5875, allocations: 273.4 kB / 0.5951 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/2.129, allocations: 0 / 0.5951 GB, free: 8.633 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)