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: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 112.4 kB / 16.37 MB, free: 6.348 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.001011/0.001011, allocations: 188.7 kB / 17.3 MB, free: 5.895 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.28/1.28, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7476/0.7476, allocations: 132.2 MB / 423.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001214, allocations: 69.95 kB / 0.582 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1235, allocations: 80.19 MB / 0.6603 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001969/0.1255, allocations: 1.244 MB / 0.6615 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.1268, allocations: 1.012 MB / 0.6625 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.325e-05/0.1268, allocations: 0 / 0.6625 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.218e-05/0.1269, allocations: 0 / 0.6625 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003668/0.1272, allocations: 107.6 kB / 0.6626 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.145e-06/0.1272, allocations: 3.938 kB / 0.6626 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.12e-05/0.1273, allocations: 4 kB / 0.6626 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.002e-05/0.1273, allocations: 3.984 kB / 0.6626 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.264e-05/0.1273, allocations: 7.984 kB / 0.6626 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.658e-05/0.1274, allocations: 4 kB / 0.6626 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.12e-06/0.1274, allocations: 0 / 0.6626 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.1277, allocations: 119.8 kB / 0.6627 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.668e-06/0.1277, allocations: 0 / 0.6627 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.458e-05/0.1277, allocations: 7.922 kB / 0.6627 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.1279, allocations: 107.9 kB / 0.6628 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1279, allocations: 3.938 kB / 0.6628 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1279, allocations: 0 / 0.6628 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.1279, allocations: 0 / 0.6628 GB, free: 7.75 MB / 0.4981 GB 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.0002854/0.1282, allocations: 355.5 kB / 0.6632 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.1282, allocations: 8.031 kB / 0.6632 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.1283, allocations: 76.22 kB / 0.6633 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.1284, allocations: 243.7 kB / 0.6635 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.807e-05/0.1285, allocations: 154.9 kB / 0.6636 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.1285, allocations: 150.9 kB / 0.6638 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.236e-05/0.1286, allocations: 109.1 kB / 0.6639 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/0.1286, allocations: 75.28 kB / 0.664 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.296e-05/0.1287, allocations: 150.6 kB / 0.6641 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.676e-05/0.1287, allocations: 150.6 kB / 0.6642 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.203e-05/0.1288, allocations: 158.5 kB / 0.6644 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002456/0.129, allocations: 453.9 kB / 0.6648 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.84e-05/0.1291, allocations: 165.1 kB / 0.665 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.787e-05/0.1291, allocations: 80.14 kB / 0.6651 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.1292, allocations: 75.28 kB / 0.6651 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.1292, allocations: 121.7 kB / 0.6653 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.1292, allocations: 4 kB / 0.6653 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.208e-05/0.1293, allocations: 29.7 kB / 0.6653 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.1294, allocations: 126.7 kB / 0.6654 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.487e-05/0.1294, allocations: 93.86 kB / 0.6655 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.1295, allocations: 29.69 kB / 0.6655 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.269e-05/0.1295, allocations: 80.14 kB / 0.6656 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.372e-06/0.1295, allocations: 0 / 0.6656 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/0.1295, allocations: 13.84 kB / 0.6656 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.504e-05/0.1296, allocations: 318.8 kB / 0.6659 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.639e-06/0.1296, allocations: 0 / 0.6659 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.464e-06/0.1296, allocations: 0 / 0.6659 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.497e-05/0.1297, allocations: 75.33 kB / 0.666 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.49e-05/0.1297, allocations: 83.22 kB / 0.6661 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.885e-05/0.1297, allocations: 37.58 kB / 0.6661 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.1298, allocations: 81 kB / 0.6662 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.869e-05/0.1298, allocations: 79.28 kB / 0.6663 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.935e-05/0.1299, allocations: 158.5 kB / 0.6664 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.767e-05/0.1299, allocations: 79.41 kB / 0.6665 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.151e-05/0.1299, allocations: 158.5 kB / 0.6666 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.246e-05/0.13, allocations: 79.28 kB / 0.6667 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.1301, allocations: 75.28 kB / 0.6668 GB, free: 3.473 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 0.0001002/0.1302, allocations: 265.3 kB / 0.667 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.171e-05/0.1302, allocations: 108.9 kB / 0.6671 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/0.1303, allocations: 108.1 kB / 0.6672 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-05/0.1303, allocations: 180.2 kB / 0.6674 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.668e-05/0.1304, allocations: 184.3 kB / 0.6676 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-05/0.1304, allocations: 180.3 kB / 0.6678 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.1306, allocations: 401.2 kB / 0.6681 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.748e-05/0.1307, allocations: 105 kB / 0.6682 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.171e-05/0.1307, allocations: 112.9 kB / 0.6684 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-05/0.1308, allocations: 176.3 kB / 0.6685 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.848e-05/0.1309, allocations: 184.2 kB / 0.6687 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-05/0.1309, allocations: 188.2 kB / 0.6689 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-05/0.131, allocations: 180.2 kB / 0.669 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.1311, allocations: 307.7 kB / 0.6693 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.594e-05/0.1312, allocations: 186 kB / 0.6695 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.295e-05/0.1312, allocations: 184.2 kB / 0.6697 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.531e-05/0.1313, allocations: 105 kB / 0.6698 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.1314, allocations: 180.2 kB / 0.67 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-05/0.1314, allocations: 109 kB / 0.6701 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.238e-05/0.1315, allocations: 83.27 kB / 0.6701 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1315, allocations: 3.938 kB / 0.6702 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000312/0.1318, allocations: 32.09 kB / 0.6702 GB, free: 15.76 MB / 0.5137 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.0004625/0.1323, allocations: 322.5 kB / 0.6705 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 3.722e-05/0.1323, allocations: 3.938 kB / 0.6705 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1323, allocations: 0 / 0.6705 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.1323, allocations: 0 / 0.6705 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.1327, allocations: 459.7 kB / 0.6709 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002241/0.1329, allocations: 190.4 kB / 0.6711 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.1331, allocations: 0.6768 MB / 0.6718 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.089e-05/0.1331, allocations: 7.438 kB / 0.6718 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.1331, allocations: 0 / 0.6718 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of Templates: time 0.002317/0.1355, allocations: 1.159 MB / 0.6729 GB, free: 12.94 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (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 & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)