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.00492/0.00492, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001199/0.001199, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.199/1.199, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7362/0.7362, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 70.69 kB / 0.5809 GB, free: 23.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1295, allocations: 80.2 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002116/0.1316, allocations: 1.24 MB / 0.6604 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.133, allocations: 1.016 MB / 0.6614 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.133, allocations: 0 / 0.6614 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.1331, allocations: 4 kB / 0.6614 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004299/0.1335, allocations: 107.5 kB / 0.6615 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.825e-06/0.1335, allocations: 0 / 0.6615 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.192e-05/0.1336, allocations: 4 kB / 0.6615 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.1336, allocations: 3.984 kB / 0.6615 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.126e-05/0.1336, allocations: 0 / 0.6615 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.517e-05/0.1337, allocations: 8 kB / 0.6615 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.061e-06/0.1337, allocations: 0 / 0.6615 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002174/0.1339, allocations: 123.8 kB / 0.6616 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.669e-06/0.134, allocations: 0 / 0.6616 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.134, allocations: 11.92 kB / 0.6617 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.1342, allocations: 108 kB / 0.6618 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1342, allocations: 0 / 0.6618 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1342, allocations: 0 / 0.6618 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1342, allocations: 0 / 0.6618 GB, free: 8.113 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.0002995/0.1345, allocations: 359.1 kB / 0.6621 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1345, allocations: 8.031 kB / 0.6621 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.433e-05/0.1346, allocations: 106 kB / 0.6622 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.019e-05/0.1347, allocations: 76.22 kB / 0.6623 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.1348, allocations: 247.6 kB / 0.6625 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.128e-05/0.1349, allocations: 150.9 kB / 0.6627 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.1349, allocations: 158.9 kB / 0.6628 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.892e-05/0.135, allocations: 104.9 kB / 0.6629 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/0.135, allocations: 75.28 kB / 0.663 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/0.135, allocations: 162.5 kB / 0.6631 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.882e-05/0.1351, allocations: 150.6 kB / 0.6633 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.406e-05/0.1352, allocations: 158.5 kB / 0.6634 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.1354, allocations: 442 kB / 0.6639 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.035e-05/0.1355, allocations: 169.1 kB / 0.664 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.397e-05/0.1355, allocations: 80.14 kB / 0.6641 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.1356, allocations: 83.16 kB / 0.6642 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/0.1356, allocations: 109.8 kB / 0.6643 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/0.1356, allocations: 0 / 0.6643 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.394e-05/0.1357, allocations: 25.7 kB / 0.6643 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.1357, allocations: 130.7 kB / 0.6644 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.959e-05/0.1358, allocations: 101.9 kB / 0.6645 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.305e-06/0.1358, allocations: 25.7 kB / 0.6645 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.415e-05/0.1359, allocations: 80.14 kB / 0.6646 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.192e-06/0.1359, allocations: 0 / 0.6646 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/0.1359, allocations: 13.72 kB / 0.6646 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.445e-05/0.136, allocations: 310.8 kB / 0.6649 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.497e-06/0.136, allocations: 48 / 0.6649 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-06/0.136, allocations: 12.06 kB / 0.6649 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.13e-05/0.136, allocations: 75.28 kB / 0.665 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.231e-05/0.1361, allocations: 83.22 kB / 0.6651 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.427e-05/0.1361, allocations: 37.62 kB / 0.6651 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.912e-05/0.1362, allocations: 79.28 kB / 0.6652 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/0.1362, allocations: 75.28 kB / 0.6653 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.343e-05/0.1362, allocations: 158.5 kB / 0.6654 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.056e-05/0.1363, allocations: 79.41 kB / 0.6655 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.814e-05/0.1363, allocations: 158.5 kB / 0.6657 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.134e-05/0.1364, allocations: 75.28 kB / 0.6657 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.1364, allocations: 75.28 kB / 0.6658 GB, free: 3.719 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.0001095/0.1366, allocations: 273.2 kB / 0.6661 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.074e-05/0.1366, allocations: 104.9 kB / 0.6662 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.186e-05/0.1367, allocations: 108.1 kB / 0.6663 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-05/0.1367, allocations: 184.2 kB / 0.6664 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.388e-05/0.1368, allocations: 176.3 kB / 0.6666 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.724e-05/0.1369, allocations: 188.2 kB / 0.6668 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.1371, allocations: 397.2 kB / 0.6672 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.892e-05/0.1371, allocations: 108.9 kB / 0.6673 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.1371, allocations: 108.9 kB / 0.6674 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.485e-05/0.1372, allocations: 176.3 kB / 0.6675 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.644e-05/0.1373, allocations: 196.1 kB / 0.6677 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.759e-05/0.1373, allocations: 176.3 kB / 0.6679 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.011e-05/0.1374, allocations: 176.3 kB / 0.6681 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.1375, allocations: 311.8 kB / 0.6684 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.567e-05/0.1376, allocations: 186 kB / 0.6685 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.1e-05/0.1377, allocations: 180.3 kB / 0.6687 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.1378, allocations: 109 kB / 0.6688 GB, free: 424 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.268e-05/0.1378, allocations: 184.2 kB / 0.669 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/0.1379, allocations: 105 kB / 0.6691 GB, free: 120 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.72e-05/0.1379, allocations: 83.28 kB / 0.6692 GB, free: 36 kB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1379, allocations: 0 / 0.6692 GB, free: 36 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003296/0.1382, allocations: 39.92 kB / 0.6692 GB, free: 15.99 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.0006717/0.1389, allocations: 0.9468 MB / 0.6701 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 3.854e-05/0.139, allocations: 3.984 kB / 0.6701 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.139, allocations: 0 / 0.6701 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.139, allocations: 0 / 0.6701 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.0003135/0.1393, allocations: 463.7 kB / 0.6706 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009792/0.1403, allocations: 1.56 MB / 0.6721 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.1405, allocations: 0.6729 MB / 0.6728 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.697e-06/0.1405, allocations: 0 / 0.6728 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.792e-05/0.1406, allocations: 7.438 kB / 0.6728 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1406, allocations: 0 / 0.6728 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.1592, allocations: 1.873 MB / 0.6746 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.824/6.983, allocations: 11.36 kB / 0.6746 GB, free: 10.54 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)