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.004606/0.004606, allocations: 100.5 kB / 15.73 MB, free: 6.047 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.001352/0.001352, allocations: 195.4 kB / 16.67 MB, free: 5.949 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.256/1.256, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7516/0.7516, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 64.33 kB / 0.5809 GB, free: 24.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1209, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001987/0.1229, allocations: 1.241 MB / 0.6604 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.1242, allocations: 1.012 MB / 0.6614 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.1243, allocations: 0 / 0.6614 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.586e-05/0.1243, allocations: 0 / 0.6614 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000363/0.1246, allocations: 115.5 kB / 0.6615 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.625e-06/0.1247, allocations: 0 / 0.6615 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.027e-05/0.1247, allocations: 0 / 0.6615 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.695e-05/0.1247, allocations: 7.984 kB / 0.6615 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.111e-05/0.1248, allocations: 0 / 0.6615 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.193e-05/0.1248, allocations: 3.984 kB / 0.6615 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.57e-06/0.1248, allocations: 0 / 0.6615 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000205/0.1251, allocations: 123.8 kB / 0.6617 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.978e-06/0.1251, allocations: 0 / 0.6617 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.173e-05/0.1251, allocations: 3.938 kB / 0.6617 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.1253, allocations: 112 kB / 0.6618 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.1253, allocations: 4 kB / 0.6618 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1253, allocations: 0 / 0.6618 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.1253, allocations: 0 / 0.6618 GB, free: 8.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.000314/0.1256, allocations: 355.1 kB / 0.6621 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.1257, allocations: 8.031 kB / 0.6621 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.382e-05/0.1257, allocations: 106 kB / 0.6622 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.281e-05/0.1258, allocations: 80.22 kB / 0.6623 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.1259, allocations: 243.6 kB / 0.6625 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.651e-05/0.126, allocations: 154.9 kB / 0.6627 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.472e-05/0.1261, allocations: 150.9 kB / 0.6628 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6e-05/0.1261, allocations: 108.9 kB / 0.6629 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.399e-05/0.1262, allocations: 75.28 kB / 0.663 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.251e-05/0.1262, allocations: 154.6 kB / 0.6631 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-05/0.1263, allocations: 158.6 kB / 0.6633 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.66e-05/0.1263, allocations: 150.6 kB / 0.6634 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.1266, allocations: 445.9 kB / 0.6639 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.262e-05/0.1267, allocations: 173.1 kB / 0.664 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.902e-05/0.1268, allocations: 88.14 kB / 0.6641 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.1268, allocations: 79.22 kB / 0.6642 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.747e-05/0.1268, allocations: 105.8 kB / 0.6643 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.1268, allocations: 0 / 0.6643 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.309e-05/0.1269, allocations: 25.7 kB / 0.6643 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.127, allocations: 130.6 kB / 0.6644 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.452e-05/0.1271, allocations: 105.8 kB / 0.6645 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.1271, allocations: 25.7 kB / 0.6646 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.1271, allocations: 84.08 kB / 0.6646 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.212e-06/0.1271, allocations: 0 / 0.6646 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/0.1272, allocations: 13.72 kB / 0.6647 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1273, allocations: 310.8 kB / 0.6649 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.206e-06/0.1273, allocations: 3.984 kB / 0.665 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.017e-06/0.1273, allocations: 4 kB / 0.665 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.184e-05/0.1273, allocations: 79.41 kB / 0.665 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-05/0.1274, allocations: 75.28 kB / 0.6651 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.965e-05/0.1274, allocations: 33.64 kB / 0.6651 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/0.1275, allocations: 79.28 kB / 0.6652 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.384e-05/0.1275, allocations: 87.2 kB / 0.6653 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.543e-05/0.1276, allocations: 154.6 kB / 0.6654 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.793e-05/0.1276, allocations: 79.34 kB / 0.6655 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-05/0.1277, allocations: 158.6 kB / 0.6657 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.949e-05/0.1277, allocations: 75.28 kB / 0.6657 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.1278, allocations: 87.22 kB / 0.6658 GB, free: 3.715 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.000114/0.1279, allocations: 257.3 kB / 0.6661 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.494e-05/0.128, allocations: 112.9 kB / 0.6662 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.054e-05/0.128, allocations: 112 kB / 0.6663 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-05/0.1281, allocations: 180.3 kB / 0.6665 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.769e-05/0.1282, allocations: 176.3 kB / 0.6666 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.604e-05/0.1282, allocations: 180.2 kB / 0.6668 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.1285, allocations: 405.2 kB / 0.6672 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.497e-05/0.1285, allocations: 108.9 kB / 0.6673 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.74e-05/0.1286, allocations: 105 kB / 0.6674 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.87e-05/0.1286, allocations: 180.3 kB / 0.6676 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.101e-05/0.1287, allocations: 188.2 kB / 0.6677 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.611e-05/0.1288, allocations: 176.3 kB / 0.6679 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-05/0.1288, allocations: 184.2 kB / 0.6681 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.129, allocations: 307.8 kB / 0.6684 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.627e-05/0.1291, allocations: 182 kB / 0.6685 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.199e-05/0.1292, allocations: 184.3 kB / 0.6687 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.834e-05/0.1292, allocations: 104.9 kB / 0.6688 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.075e-05/0.1293, allocations: 180.2 kB / 0.669 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.2e-05/0.1294, allocations: 116.9 kB / 0.6691 GB, free: 124 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.517e-05/0.1294, allocations: 75.28 kB / 0.6692 GB, free: 48 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1294, allocations: 0 / 0.6692 GB, free: 48 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002846/0.1297, allocations: 47.73 kB / 0.6692 GB, free: 0 / 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.0007736/0.1305, allocations: 0.9456 MB / 0.6701 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 2.923e-05/0.1305, allocations: 0 / 0.6701 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.1305, allocations: 4 kB / 0.6702 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.14e-06/0.1305, allocations: 3.938 kB / 0.6702 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.1309, allocations: 455.8 kB / 0.6706 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.1319, allocations: 1.568 MB / 0.6721 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.1322, allocations: 0.6729 MB / 0.6728 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.564e-06/0.1322, allocations: 0 / 0.6728 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.538e-05/0.1322, allocations: 7.438 kB / 0.6728 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1323, allocations: 0 / 0.6728 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1233/0.2556, allocations: 1.864 MB / 0.6746 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.547/7.803, allocations: 12.33 kB / 0.6746 GB, free: 10.55 MB / 0.5137 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)