Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.GetTimeSpanTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.00412/0.00412, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001024/0.001024, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.212/1.212, 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/package.mo): time 0.7158/0.7158, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 68.66 kB / 0.5809 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1202, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.00206/0.1223, allocations: 1.255 MB / 0.6604 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009263/0.1232, allocations: 0.743 MB / 0.6612 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.1233, allocations: 0 / 0.6612 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.286e-05/0.1233, allocations: 3.938 kB / 0.6612 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.1235, allocations: 12 kB / 0.6612 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.1237, allocations: 43.86 kB / 0.6612 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.901e-05/0.1237, allocations: 31.84 kB / 0.6612 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.42e-05/0.1238, allocations: 8 kB / 0.6613 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.084e-05/0.1238, allocations: 8 kB / 0.6613 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.124, allocations: 15.91 kB / 0.6613 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.124, allocations: 0 / 0.6613 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.808e-05/0.124, allocations: 4 kB / 0.6613 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.811e-05/0.1241, allocations: 8 kB / 0.6613 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.1241, allocations: 15.91 kB / 0.6613 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.278e-05/0.1242, allocations: 16.2 kB / 0.6613 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1242, allocations: 4 kB / 0.6613 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.785e-06/0.1242, allocations: 0 / 0.6613 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.1242, allocations: 7.938 kB / 0.6613 GB, free: 8.598 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.0002813/0.1245, allocations: 327.5 kB / 0.6616 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.1245, allocations: 8.031 kB / 0.6617 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.842e-05/0.1246, allocations: 110 kB / 0.6618 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.163e-05/0.1247, allocations: 80.22 kB / 0.6618 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.1248, allocations: 235.7 kB / 0.6621 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.615e-05/0.1248, allocations: 154.9 kB / 0.6622 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.744e-05/0.1249, allocations: 162.9 kB / 0.6624 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.565e-05/0.125, allocations: 101.5 kB / 0.6625 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.125, allocations: 87.14 kB / 0.6625 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.09e-05/0.125, allocations: 150.6 kB / 0.6627 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-05/0.1251, allocations: 154.5 kB / 0.6628 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.329e-05/0.1251, allocations: 154.6 kB / 0.663 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002516/0.1254, allocations: 461.8 kB / 0.6634 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.271e-05/0.1254, allocations: 165.1 kB / 0.6636 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.577e-05/0.1255, allocations: 84.14 kB / 0.6637 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.1255, allocations: 79.28 kB / 0.6637 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.1255, allocations: 113.8 kB / 0.6638 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.1256, allocations: 0 / 0.6638 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.608e-05/0.1256, allocations: 29.64 kB / 0.6639 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.1257, allocations: 126.7 kB / 0.664 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.266e-05/0.1258, allocations: 109.8 kB / 0.6641 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.1258, allocations: 25.7 kB / 0.6641 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.673e-05/0.1258, allocations: 84.19 kB / 0.6642 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.1258, allocations: 0 / 0.6642 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.1259, allocations: 25.7 kB / 0.6642 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.099e-05/0.126, allocations: 310.8 kB / 0.6645 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.126, allocations: 4 kB / 0.6645 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.674e-05/0.126, allocations: 11.98 kB / 0.6645 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.059e-05/0.1261, allocations: 24.73 kB / 0.6646 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1261, allocations: 0 / 0.6646 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.859e-05/0.1262, allocations: 41.78 kB / 0.6646 GB, free: 5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1262, allocations: 11.94 kB / 0.6646 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1262, allocations: 0 / 0.6646 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1262, allocations: 0 / 0.6646 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.1262, allocations: 0 / 0.6646 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.1262, allocations: 0 / 0.6646 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.218e-05/0.1263, allocations: 4 kB / 0.6646 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.1263, allocations: 3.984 kB / 0.6646 GB, free: 4.98 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 7.793e-05/0.1264, allocations: 186 kB / 0.6648 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.44e-05/0.1265, allocations: 116.8 kB / 0.6649 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.826e-05/0.1265, allocations: 108.5 kB / 0.665 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.875e-05/0.1266, allocations: 184.2 kB / 0.6652 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.844e-05/0.1266, allocations: 180.3 kB / 0.6654 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.721e-05/0.1267, allocations: 176.3 kB / 0.6655 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.1269, allocations: 417.3 kB / 0.6659 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.64e-05/0.1269, allocations: 105 kB / 0.666 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.184e-05/0.1269, allocations: 104.9 kB / 0.6661 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-05/0.127, allocations: 180.4 kB / 0.6663 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.981e-05/0.127, allocations: 184.3 kB / 0.6665 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-05/0.1271, allocations: 192.2 kB / 0.6667 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.534e-05/0.1272, allocations: 176.3 kB / 0.6668 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.86e-05/0.1273, allocations: 299.8 kB / 0.6671 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.757e-05/0.1273, allocations: 190.1 kB / 0.6673 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.97e-05/0.1274, allocations: 188.1 kB / 0.6675 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.895e-05/0.1275, allocations: 105 kB / 0.6676 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.1275, allocations: 180.2 kB / 0.6677 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.1276, allocations: 105 kB / 0.6678 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.358e-05/0.1276, allocations: 87.27 kB / 0.6679 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1276, allocations: 0 / 0.6679 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002238/0.1278, allocations: 4 kB / 0.6679 GB, free: 1.355 MB / 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.0004461/0.1283, allocations: 0.8267 MB / 0.6687 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.676e-05/0.1284, allocations: 4 kB / 0.6687 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1284, allocations: 0 / 0.6687 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.1284, allocations: 4 kB / 0.6687 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.1287, allocations: 457.1 kB / 0.6692 GB, free: 48 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008716/0.1296, allocations: 1.302 MB / 0.6705 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.1298, allocations: 0.6768 MB / 0.6711 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.023e-05/0.1298, allocations: 4 kB / 0.6711 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.986e-05/0.1298, allocations: 15.38 kB / 0.6711 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.1299, allocations: 4.031 kB / 0.6711 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.1479, allocations: 1.266 MB / 0.6724 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.715/6.863, allocations: 7.281 kB / 0.6724 GB, free: 12.81 MB / 0.5137 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_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_GetTimeSpanTMY3.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1)