Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.004324/0.004324, allocations: 95.39 kB / 15.73 MB, free: 6.039 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.001138/0.001138, allocations: 201.5 kB / 16.68 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.214/1.214, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6847/0.6847, allocations: 132.2 MB / 422.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001107, allocations: 63.89 kB / 0.5809 GB, free: 8.07 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3006, allocations: 80.21 MB / 0.6592 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001745/0.3024, allocations: 1.232 MB / 0.6604 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007187/0.3031, allocations: 0.7342 MB / 0.6611 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.3031, allocations: 4 kB / 0.6611 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.329e-05/0.3031, allocations: 0 / 0.6611 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.3033, allocations: 18.95 kB / 0.6611 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 7.275e-05/0.3034, allocations: 10.23 kB / 0.6612 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.531e-05/0.3035, allocations: 4.734 kB / 0.6612 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.361e-05/0.3035, allocations: 5.875 kB / 0.6612 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.627e-05/0.3035, allocations: 3.547 kB / 0.6612 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.3036, allocations: 8.047 kB / 0.6612 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.3037, allocations: 0 / 0.6612 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.732e-05/0.3037, allocations: 14.12 kB / 0.6612 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.719e-05/0.3037, allocations: 6.828 kB / 0.6612 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.3038, allocations: 10.69 kB / 0.6612 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.668e-05/0.3038, allocations: 8.078 kB / 0.6612 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3038, allocations: 0 / 0.6612 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3038, allocations: 0 / 0.6612 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.3039, allocations: 0 / 0.6612 GB, free: 8.434 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.0002057/0.3041, allocations: 325.9 kB / 0.6615 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.3041, allocations: 14.22 kB / 0.6615 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.884e-05/0.3041, allocations: 106 kB / 0.6616 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.3042, allocations: 81.59 kB / 0.6617 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.706e-05/0.3043, allocations: 239.9 kB / 0.6619 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.3043, allocations: 152.4 kB / 0.6621 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.3043, allocations: 150.9 kB / 0.6622 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.378e-05/0.3043, allocations: 107.4 kB / 0.6623 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3044, allocations: 79.22 kB / 0.6624 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.3044, allocations: 160.4 kB / 0.6626 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.3044, allocations: 154.6 kB / 0.6627 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.552e-05/0.3044, allocations: 150.6 kB / 0.6629 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.3046, allocations: 447.7 kB / 0.6633 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.714e-05/0.3046, allocations: 178.5 kB / 0.6635 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.26e-05/0.3046, allocations: 80.75 kB / 0.6635 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.3047, allocations: 75.28 kB / 0.6636 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.3047, allocations: 107.7 kB / 0.6637 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.3047, allocations: 0 / 0.6637 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 5.553e-05/0.3047, allocations: 32.45 kB / 0.6637 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/0.3048, allocations: 131.4 kB / 0.6639 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.38e-05/0.3048, allocations: 105.8 kB / 0.664 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.18e-06/0.3048, allocations: 25.7 kB / 0.664 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.93e-05/0.3049, allocations: 82.2 kB / 0.6641 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-06/0.3049, allocations: 0 / 0.6641 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.709e-05/0.3049, allocations: 11.44 kB / 0.6641 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.227e-05/0.3049, allocations: 317.4 kB / 0.6644 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.466e-06/0.3049, allocations: 0 / 0.6644 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.038e-05/0.305, allocations: 6.453 kB / 0.6644 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.919e-06/0.305, allocations: 76.91 kB / 0.6645 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.305, allocations: 75.28 kB / 0.6645 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.379e-05/0.305, allocations: 28.92 kB / 0.6646 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.305, allocations: 85.22 kB / 0.6646 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.3051, allocations: 79.22 kB / 0.6647 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.3051, allocations: 152.3 kB / 0.6649 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.486e-06/0.3051, allocations: 80.89 kB / 0.6649 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.3051, allocations: 160.4 kB / 0.6651 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.513e-05/0.3052, allocations: 81.94 kB / 0.6652 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3052, allocations: 81.14 kB / 0.6652 GB, free: 4.133 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 4.302e-05/0.3053, allocations: 259.6 kB / 0.6655 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.3053, allocations: 106.5 kB / 0.6656 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.844e-05/0.3053, allocations: 115 kB / 0.6657 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/0.3054, allocations: 182.5 kB / 0.6659 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.861e-05/0.3054, allocations: 180.9 kB / 0.6661 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.3054, allocations: 186.5 kB / 0.6662 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.3055, allocations: 401.3 kB / 0.6666 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.3055, allocations: 123.2 kB / 0.6667 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.004e-05/0.3055, allocations: 102.8 kB / 0.6668 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-05/0.3056, allocations: 180.8 kB / 0.667 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.3056, allocations: 182.8 kB / 0.6672 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.668e-05/0.3056, allocations: 178.5 kB / 0.6673 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.69e-05/0.3056, allocations: 182.1 kB / 0.6675 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.824e-05/0.3057, allocations: 308.9 kB / 0.6678 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.568e-05/0.3057, allocations: 189.5 kB / 0.668 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.3057, allocations: 183 kB / 0.6682 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.081e-05/0.3058, allocations: 110.2 kB / 0.6683 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.959e-05/0.3058, allocations: 181.4 kB / 0.6684 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.3058, allocations: 107 kB / 0.6686 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.321e-05/0.3059, allocations: 80.52 kB / 0.6686 GB, free: 500 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3059, allocations: 3.938 kB / 0.6686 GB, free: 496 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002385/0.3061, allocations: 5.469 kB / 0.6686 GB, free: 496 kB / 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.0003461/0.3065, allocations: 0.819 MB / 0.6694 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 3.537e-05/0.3065, allocations: 2.078 kB / 0.6694 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.3065, allocations: 0 / 0.6694 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.146e-06/0.3065, allocations: 3.938 kB / 0.6694 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.3068, allocations: 463 kB / 0.6699 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009534/0.3078, allocations: 1.557 MB / 0.6714 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.308, allocations: 0.674 MB / 0.6721 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.463e-05/0.308, allocations: 0.7031 kB / 0.6721 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.036e-05/0.3081, allocations: 10.86 kB / 0.6721 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of SimCode: time 1.9e-07/0.3081, allocations: 0 / 0.6721 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/0.3244, allocations: 1.18 MB / 0.6732 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.537/6.861, allocations: 20.28 kB / 0.6732 GB, free: 12.54 MB / 0.5137 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_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_GetTimeSpanTMY3LongHeader.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)