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.006493/0.006493, allocations: 100.8 kB / 15.73 MB, free: 6.055 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.001281/0.001281, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.87/0.87, allocations: 135.6 MB / 426.1 MB, free: 3.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 64.5 kB / 0.5858 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1413, allocations: 81.02 MB / 0.6649 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002328/0.1436, allocations: 1.241 MB / 0.6661 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.1452, allocations: 1.012 MB / 0.6671 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.684e-05/0.1453, allocations: 0 / 0.6671 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.336e-05/0.1453, allocations: 0 / 0.6671 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004362/0.1457, allocations: 103.6 kB / 0.6672 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.326e-06/0.1458, allocations: 0 / 0.6672 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.424e-05/0.1458, allocations: 11.92 kB / 0.6672 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.519e-05/0.1458, allocations: 0 / 0.6672 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.226e-05/0.1459, allocations: 0 / 0.6672 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.379e-05/0.146, allocations: 7.984 kB / 0.6672 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.051e-06/0.146, allocations: 0 / 0.6672 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002255/0.1462, allocations: 123.8 kB / 0.6673 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.334e-06/0.1462, allocations: 7.984 kB / 0.6673 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.288e-05/0.1462, allocations: 3.938 kB / 0.6673 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.1465, allocations: 108 kB / 0.6674 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.1465, allocations: 0 / 0.6674 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1465, allocations: 3.938 kB / 0.6674 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.1465, allocations: 0 / 0.6674 GB, free: 3.121 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.0003587/0.1468, allocations: 359 kB / 0.6678 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1469, allocations: 9.109 kB / 0.6678 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.707e-05/0.1469, allocations: 106 kB / 0.6679 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.016e-05/0.147, allocations: 80.22 kB / 0.668 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.1472, allocations: 243.7 kB / 0.6682 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.274e-05/0.1473, allocations: 150.9 kB / 0.6683 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.738e-05/0.1473, allocations: 150.9 kB / 0.6685 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.812e-05/0.1474, allocations: 104.9 kB / 0.6686 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.665e-05/0.1475, allocations: 79.28 kB / 0.6687 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.052e-05/0.1476, allocations: 154.6 kB / 0.6688 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.478e-05/0.1476, allocations: 150.6 kB / 0.6689 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.159e-05/0.1477, allocations: 158.5 kB / 0.6691 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.148, allocations: 441.9 kB / 0.6695 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.56e-05/0.1481, allocations: 173.1 kB / 0.6697 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.03e-05/0.1482, allocations: 80.14 kB / 0.6698 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/0.1482, allocations: 79.22 kB / 0.6698 GB, free: 496 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/0.1483, allocations: 113.8 kB / 0.6699 GB, free: 372 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 7.374e-06/0.1483, allocations: 0 / 0.6699 GB, free: 372 kB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.755e-05/0.1483, allocations: 29.66 kB / 0.67 GB, free: 336 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.1484, allocations: 130.7 kB / 0.6701 GB, free: 192 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.527e-05/0.1485, allocations: 97.86 kB / 0.6702 GB, free: 84 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.1485, allocations: 29.69 kB / 0.6702 GB, free: 48 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.1486, allocations: 80.14 kB / 0.6703 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-06/0.1486, allocations: 0 / 0.6703 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.093e-05/0.1486, allocations: 9.719 kB / 0.6703 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1488, allocations: 315 kB / 0.6706 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.408e-06/0.1488, allocations: 4.047 kB / 0.6706 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.702e-06/0.1488, allocations: 4 kB / 0.6706 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.622e-05/0.1488, allocations: 79.22 kB / 0.6707 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-05/0.1489, allocations: 79.22 kB / 0.6708 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.415e-05/0.1489, allocations: 33.64 kB / 0.6708 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/0.149, allocations: 81.16 kB / 0.6709 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.365e-05/0.149, allocations: 79.28 kB / 0.6709 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.8e-05/0.1491, allocations: 162.5 kB / 0.6711 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.076e-05/0.1491, allocations: 79.41 kB / 0.6712 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-05/0.1492, allocations: 158.5 kB / 0.6713 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.049e-05/0.1493, allocations: 75.28 kB / 0.6714 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.1493, allocations: 75.28 kB / 0.6715 GB, free: 14.73 MB / 0.5137 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.0001398/0.1495, allocations: 268.4 kB / 0.6717 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/0.1495, allocations: 108.9 kB / 0.6718 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.504e-05/0.1496, allocations: 112 kB / 0.6719 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.92e-05/0.1497, allocations: 184.2 kB / 0.6721 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.891e-05/0.1498, allocations: 180.3 kB / 0.6723 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-05/0.1499, allocations: 176.3 kB / 0.6725 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.1501, allocations: 413.2 kB / 0.6728 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.858e-05/0.1502, allocations: 104.9 kB / 0.6729 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.355e-05/0.1502, allocations: 104.9 kB / 0.673 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.59e-05/0.1503, allocations: 176.3 kB / 0.6732 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.273e-05/0.1504, allocations: 184.2 kB / 0.6734 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.558e-05/0.1505, allocations: 188.2 kB / 0.6736 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.418e-05/0.1505, allocations: 184.2 kB / 0.6737 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.1507, allocations: 299.8 kB / 0.674 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-05/0.1508, allocations: 190 kB / 0.6742 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.89e-05/0.1509, allocations: 180.2 kB / 0.6744 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.187e-05/0.151, allocations: 109 kB / 0.6745 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.644e-05/0.151, allocations: 180.2 kB / 0.6747 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.356e-05/0.1511, allocations: 105 kB / 0.6748 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.229e-05/0.1511, allocations: 83.27 kB / 0.6748 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1511, allocations: 0 / 0.6748 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003273/0.1515, allocations: 43.75 kB / 0.6749 GB, free: 11 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.0008664/0.1524, allocations: 0.9457 MB / 0.6758 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 3.608e-05/0.1524, allocations: 0 / 0.6758 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.1524, allocations: 0 / 0.6758 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.637e-06/0.1524, allocations: 4 kB / 0.6758 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.1528, allocations: 459.7 kB / 0.6763 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.154, allocations: 1.564 MB / 0.6778 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.1542, allocations: 0.6806 MB / 0.6784 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.877e-06/0.1543, allocations: 0 / 0.6784 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.98e-05/0.1543, allocations: 7.438 kB / 0.6784 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1543, allocations: 0 / 0.6784 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.1788, allocations: 1.881 MB / 0.6803 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.635/7.814, allocations: 8.312 kB / 0.6803 GB, free: 5.52 MB / 0.5137 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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)