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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 111.4 kB / 16.41 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001483, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 245.1 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8072/0.8072, allocations: 132.2 MB / 429.4 MB, free: 6.027 MB / 334.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 74.86 kB / 0.5894 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1279, allocations: 80.21 MB / 0.6677 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002149/0.1301, allocations: 1.237 MB / 0.6689 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.1315, allocations: 1.012 MB / 0.6699 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.927e-05/0.1315, allocations: 0 / 0.6699 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.405e-05/0.1315, allocations: 4 kB / 0.6699 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000383/0.1319, allocations: 115.5 kB / 0.67 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.166e-06/0.1319, allocations: 0 / 0.67 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.489e-05/0.132, allocations: 0 / 0.67 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.718e-05/0.132, allocations: 11.92 kB / 0.67 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.47e-05/0.132, allocations: 0 / 0.67 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.687e-05/0.1321, allocations: 4 kB / 0.67 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.1321, allocations: 0 / 0.67 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002143/0.1323, allocations: 123.8 kB / 0.6702 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.412e-06/0.1324, allocations: 3.984 kB / 0.6702 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.55e-05/0.1324, allocations: 7.938 kB / 0.6702 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.1326, allocations: 108 kB / 0.6703 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1326, allocations: 0 / 0.6703 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1326, allocations: 0 / 0.6703 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.1326, allocations: 0 / 0.6703 GB, free: 7.238 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.0003314/0.133, allocations: 353.1 kB / 0.6706 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.133, allocations: 8.031 kB / 0.6706 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.523e-05/0.1331, allocations: 110 kB / 0.6707 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.541e-05/0.1331, allocations: 76.22 kB / 0.6708 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.1333, allocations: 251.6 kB / 0.671 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.392e-05/0.1334, allocations: 150.9 kB / 0.6712 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.638e-05/0.1334, allocations: 154.9 kB / 0.6713 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.948e-05/0.1335, allocations: 108.9 kB / 0.6714 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.442e-05/0.1335, allocations: 75.28 kB / 0.6715 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.186e-05/0.1336, allocations: 150.6 kB / 0.6716 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.643e-05/0.1337, allocations: 154.6 kB / 0.6718 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.488e-05/0.1337, allocations: 154.6 kB / 0.6719 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002872/0.134, allocations: 445.9 kB / 0.6724 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.624e-05/0.1341, allocations: 173.1 kB / 0.6725 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.817e-05/0.1342, allocations: 84.14 kB / 0.6726 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.1342, allocations: 79.22 kB / 0.6727 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.957e-05/0.1343, allocations: 109.8 kB / 0.6728 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.1343, allocations: 0 / 0.6728 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.59e-05/0.1343, allocations: 29.64 kB / 0.6728 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/0.1344, allocations: 130.7 kB / 0.6729 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.078e-05/0.1345, allocations: 97.84 kB / 0.673 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.1345, allocations: 25.7 kB / 0.6731 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.1346, allocations: 84.14 kB / 0.6731 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.393e-06/0.1346, allocations: 3.938 kB / 0.6731 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.961e-05/0.1346, allocations: 9.719 kB / 0.6731 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1347, allocations: 314.9 kB / 0.6735 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.951e-06/0.1347, allocations: 4 kB / 0.6735 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.354e-06/0.1348, allocations: 128 / 0.6735 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.174e-05/0.1348, allocations: 79.28 kB / 0.6735 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-05/0.1348, allocations: 83.22 kB / 0.6736 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.125e-05/0.1349, allocations: 29.64 kB / 0.6736 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.114e-05/0.1349, allocations: 87.2 kB / 0.6737 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-05/0.135, allocations: 79.28 kB / 0.6738 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.28e-05/0.135, allocations: 150.6 kB / 0.6739 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.065e-05/0.1351, allocations: 79.34 kB / 0.674 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-05/0.1351, allocations: 162.6 kB / 0.6742 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.499e-05/0.1352, allocations: 83.22 kB / 0.6742 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.1353, allocations: 75.28 kB / 0.6743 GB, free: 2.836 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.0001187/0.1354, allocations: 256.4 kB / 0.6746 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.1355, allocations: 112.9 kB / 0.6747 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.51e-05/0.1355, allocations: 112 kB / 0.6748 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-05/0.1356, allocations: 180.3 kB / 0.675 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-05/0.1357, allocations: 180.2 kB / 0.6751 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.479e-05/0.1358, allocations: 180.3 kB / 0.6753 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.136, allocations: 397.2 kB / 0.6757 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.57e-05/0.1361, allocations: 112.9 kB / 0.6758 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.702e-05/0.1361, allocations: 105 kB / 0.6759 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.861e-05/0.1362, allocations: 192.2 kB / 0.6761 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.009e-05/0.1363, allocations: 176.3 kB / 0.6762 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.375e-05/0.1363, allocations: 176.3 kB / 0.6764 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.405e-05/0.1364, allocations: 180.2 kB / 0.6766 GB, free: 384 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.1366, allocations: 311.8 kB / 0.6769 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.666e-05/0.1367, allocations: 186 kB / 0.677 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-05/0.1368, allocations: 180.2 kB / 0.6772 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.321e-05/0.1369, allocations: 104.9 kB / 0.6773 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.134e-05/0.137, allocations: 188.2 kB / 0.6775 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.988e-05/0.137, allocations: 112.9 kB / 0.6776 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.922e-05/0.1371, allocations: 75.28 kB / 0.6777 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.417e-06/0.1371, allocations: 0 / 0.6777 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000305/0.1374, allocations: 43.73 kB / 0.6777 GB, free: 15.12 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.0008502/0.1382, allocations: 0.9441 MB / 0.6786 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 5.563e-05/0.1383, allocations: 11.94 kB / 0.6787 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.1383, allocations: 0 / 0.6787 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.1383, allocations: 0 / 0.6787 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.1387, allocations: 464.9 kB / 0.6791 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.1399, allocations: 1.556 MB / 0.6806 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.1402, allocations: 0.6729 MB / 0.6813 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.045e-06/0.1402, allocations: 0 / 0.6813 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.1402, allocations: 11.44 kB / 0.6813 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1402, allocations: 0 / 0.6813 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.1643, allocations: 1.859 MB / 0.6831 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.291/7.455, allocations: 16.69 kB / 0.6831 GB, free: 9.668 MB / 0.5137 GB " [Timeout remaining time 652] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.791166078997776] Failed to read output from testmodel.py, exit status != 0: 7.565153869916685 7.584643228 7.448685232 Calling exit ...