Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="IDEAS_dev_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.006071/0.006071, allocations: 96.7 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.001432/0.001432, allocations: 193.3 kB / 16.67 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9209/0.9209, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 67.89 kB / 0.5852 GB, free: 3.809 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4406/0.4427, allocations: 80.92 MB / 0.6642 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.00175/0.4445, allocations: 1.239 MB / 0.6654 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007465/0.4453, allocations: 0.732 MB / 0.6661 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.398e-05/0.4453, allocations: 1.094 kB / 0.6661 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.379e-05/0.4453, allocations: 0 / 0.6661 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.4455, allocations: 11.56 kB / 0.6661 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 6.458e-05/0.4456, allocations: 15.27 kB / 0.6661 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.981e-05/0.4456, allocations: 8.453 kB / 0.6661 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.803e-05/0.4457, allocations: 1.312 kB / 0.6661 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.855e-05/0.4457, allocations: 2.156 kB / 0.6661 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.4458, allocations: 7.312 kB / 0.6661 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.4458, allocations: 1.062 kB / 0.6661 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.871e-05/0.4459, allocations: 20.31 kB / 0.6662 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.157e-05/0.4459, allocations: 2.5 kB / 0.6662 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.446, allocations: 1.344 kB / 0.6662 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.39e-05/0.446, allocations: 9.453 kB / 0.6662 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.4461, allocations: 5.125 kB / 0.6662 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4461, allocations: 0 / 0.6662 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.4461, allocations: 0 / 0.6662 GB, free: 5.625 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.0002141/0.4463, allocations: 322.3 kB / 0.6665 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.4463, allocations: 9.156 kB / 0.6665 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.136e-05/0.4464, allocations: 106 kB / 0.6666 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.4464, allocations: 85.67 kB / 0.6667 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.134e-05/0.4465, allocations: 242.4 kB / 0.6669 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.4465, allocations: 156.2 kB / 0.6671 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.4465, allocations: 160 kB / 0.6672 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.457e-05/0.4466, allocations: 105.5 kB / 0.6673 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.4466, allocations: 79.22 kB / 0.6674 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.4466, allocations: 152 kB / 0.6675 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.4466, allocations: 154.6 kB / 0.6677 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.755e-05/0.4467, allocations: 151.9 kB / 0.6678 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.4468, allocations: 451.1 kB / 0.6683 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.866e-05/0.4469, allocations: 170.6 kB / 0.6684 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.407e-05/0.4469, allocations: 88.12 kB / 0.6685 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.4469, allocations: 76.69 kB / 0.6686 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.4469, allocations: 105.8 kB / 0.6687 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.447, allocations: 1.531 kB / 0.6687 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 5.71e-05/0.447, allocations: 33.58 kB / 0.6687 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/0.447, allocations: 131.5 kB / 0.6688 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.566e-05/0.4471, allocations: 103.2 kB / 0.6689 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.061e-06/0.4471, allocations: 27.08 kB / 0.669 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.907e-05/0.4471, allocations: 80.14 kB / 0.669 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/0.4472, allocations: 1.156 kB / 0.669 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.922e-05/0.4472, allocations: 14.75 kB / 0.669 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.329e-05/0.4472, allocations: 312.1 kB / 0.6693 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.957e-06/0.4472, allocations: 0 / 0.6693 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.146e-05/0.4472, allocations: 2.438 kB / 0.6693 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.05e-05/0.4473, allocations: 75.31 kB / 0.6694 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.383e-06/0.4473, allocations: 79.28 kB / 0.6695 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.72e-05/0.4473, allocations: 29.58 kB / 0.6695 GB, free: 2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.4473, allocations: 87.36 kB / 0.6696 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.4474, allocations: 80.72 kB / 0.6697 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.4474, allocations: 151.9 kB / 0.6698 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.097e-06/0.4474, allocations: 83.41 kB / 0.6699 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.4474, allocations: 160 kB / 0.6701 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.4475, allocations: 76.66 kB / 0.6701 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.4475, allocations: 80.44 kB / 0.6702 GB, free: 1.301 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.98e-05/0.4476, allocations: 265.8 kB / 0.6705 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.4476, allocations: 113.8 kB / 0.6706 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.99e-05/0.4477, allocations: 113.1 kB / 0.6707 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.4477, allocations: 181.4 kB / 0.6709 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.969e-05/0.4477, allocations: 181.4 kB / 0.671 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/0.4477, allocations: 181.6 kB / 0.6712 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.4479, allocations: 400.1 kB / 0.6716 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.136e-05/0.448, allocations: 112.9 kB / 0.6717 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.161e-05/0.448, allocations: 106.5 kB / 0.6718 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.008e-05/0.4481, allocations: 185.3 kB / 0.672 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.994e-05/0.4481, allocations: 176.3 kB / 0.6721 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.045e-05/0.4482, allocations: 177.4 kB / 0.6723 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.914e-05/0.4482, allocations: 185.5 kB / 0.6725 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.4484, allocations: 311.3 kB / 0.6728 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.371e-05/0.4485, allocations: 183.4 kB / 0.673 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.992e-05/0.4485, allocations: 185.3 kB / 0.6731 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.006e-05/0.4486, allocations: 110.7 kB / 0.6732 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.4487, allocations: 177.2 kB / 0.6734 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.4487, allocations: 110.1 kB / 0.6735 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.017e-05/0.4488, allocations: 82.42 kB / 0.6736 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4488, allocations: 0 / 0.6736 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000258/0.449, allocations: 6.125 kB / 0.6736 GB, free: 13.64 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.0004703/0.4495, allocations: 0.8238 MB / 0.6744 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 4.793e-05/0.4496, allocations: 9.219 kB / 0.6744 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4496, allocations: 1.188 kB / 0.6744 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.4496, allocations: 0 / 0.6744 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.4499, allocations: 463.9 kB / 0.6749 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.451, allocations: 1.55 MB / 0.6764 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.4512, allocations: 0.6752 MB / 0.677 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.583e-05/0.4512, allocations: 1.062 kB / 0.677 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.4512, allocations: 9.812 kB / 0.677 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.4513, allocations: 0 / 0.677 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/0.4676, allocations: 1.192 MB / 0.6782 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.131/7.599, allocations: 3.062 kB / 0.6782 GB, free: 9.418 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)