Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7005/0.7005, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 184.6 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 221.3 MB / 441.4 MB, free: 4.586 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008964/0.0008965, allocations: 99.73 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001796/0.001796, allocations: 272.6 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.243e-05/3.253e-05, allocations: 4 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3558, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1052/0.461, allocations: 108.5 MB / 0.8703 GB, free: 76 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.4613, allocations: 80 kB / 0.8704 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.003417/0.4647, allocations: 1.549 MB / 0.8719 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4648, allocations: 0 / 0.8719 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.4648, allocations: 0 / 0.8719 GB, free: 14.45 MB / 0.5417 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.0002098/0.465, allocations: 325.8 kB / 0.8722 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.465, allocations: 12.03 kB / 0.8722 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.337e-05/0.4651, allocations: 105.8 kB / 0.8723 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.404e-05/0.4652, allocations: 75.28 kB / 0.8724 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.4653, allocations: 252.3 kB / 0.8726 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.804e-05/0.4654, allocations: 155.2 kB / 0.8728 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.536e-05/0.4654, allocations: 158.6 kB / 0.8729 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.255e-05/0.4655, allocations: 101 kB / 0.873 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.4655, allocations: 75.28 kB / 0.8731 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.859e-05/0.4656, allocations: 150.6 kB / 0.8732 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.025e-05/0.4656, allocations: 154.6 kB / 0.8734 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.5e-05/0.4657, allocations: 154.5 kB / 0.8735 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002425/0.4659, allocations: 449.9 kB / 0.8739 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.413e-05/0.466, allocations: 173.1 kB / 0.8741 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.59e-05/0.466, allocations: 80.14 kB / 0.8742 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.466, allocations: 75.28 kB / 0.8743 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.4661, allocations: 113.8 kB / 0.8744 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.4661, allocations: 0 / 0.8744 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0): time 6.847e-05/0.4662, allocations: 33.64 kB / 0.8744 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.4662, allocations: 130.7 kB / 0.8745 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.364e-05/0.4663, allocations: 96.97 kB / 0.8746 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.4663, allocations: 29.64 kB / 0.8746 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.911e-05/0.4664, allocations: 80.14 kB / 0.8747 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.4664, allocations: 4 kB / 0.8747 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-07/0.4664, allocations: 0 / 0.8747 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.769e-05/0.4665, allocations: 318.8 kB / 0.875 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.987e-06/0.4665, allocations: 0 / 0.875 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.167e-05/0.4665, allocations: 0 / 0.875 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.633e-05/0.4665, allocations: 75.28 kB / 0.8751 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.119e-05/0.4666, allocations: 75.28 kB / 0.8752 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.591e-05/0.4666, allocations: 42.28 kB / 0.8752 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/0.4667, allocations: 84.72 kB / 0.8753 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/0.4667, allocations: 79.28 kB / 0.8754 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.753e-05/0.4668, allocations: 154.5 kB / 0.8755 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.163e-05/0.4668, allocations: 79.28 kB / 0.8756 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.52e-05/0.4668, allocations: 154.6 kB / 0.8757 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.726e-05/0.4669, allocations: 83.22 kB / 0.8758 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.467, allocations: 79.28 kB / 0.8759 GB, free: 10.09 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.793e-05/0.4671, allocations: 255.5 kB / 0.8761 GB, free: 9.836 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.4671, allocations: 112.9 kB / 0.8762 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.121e-05/0.4672, allocations: 104.1 kB / 0.8763 GB, free: 9.613 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-05/0.4672, allocations: 176.3 kB / 0.8765 GB, free: 9.434 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.328e-05/0.4673, allocations: 188.2 kB / 0.8767 GB, free: 9.242 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.367e-05/0.4673, allocations: 184.2 kB / 0.8769 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.4675, allocations: 397.2 kB / 0.8772 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.771e-05/0.4676, allocations: 101 kB / 0.8773 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.576e-05/0.4676, allocations: 118.2 kB / 0.8775 GB, free: 8.383 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.955e-05/0.4677, allocations: 180.2 kB / 0.8776 GB, free: 8.199 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-05/0.4677, allocations: 184.2 kB / 0.8778 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.246e-05/0.4678, allocations: 180.2 kB / 0.878 GB, free: 7.828 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.349e-05/0.4678, allocations: 180.3 kB / 0.8781 GB, free: 7.645 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.4679, allocations: 315.7 kB / 0.8784 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.449e-05/0.468, allocations: 182.1 kB / 0.8786 GB, free: 7.109 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.998e-05/0.4681, allocations: 184.2 kB / 0.8788 GB, free: 6.922 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.946e-05/0.4682, allocations: 109.4 kB / 0.8789 GB, free: 6.809 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.4682, allocations: 184.2 kB / 0.8791 GB, free: 6.621 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.4683, allocations: 101 kB / 0.8792 GB, free: 6.516 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.057e-05/0.4683, allocations: 83.22 kB / 0.8793 GB, free: 6.434 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4683, allocations: 3.938 kB / 0.8793 GB, free: 6.43 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002367/0.4686, allocations: 12 kB / 0.8793 GB, free: 6.418 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004079/0.469, allocations: 0.8127 MB / 0.8801 GB, free: 5.578 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 3.379e-05/0.469, allocations: 0 / 0.8801 GB, free: 5.578 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.469, allocations: 4 kB / 0.8801 GB, free: 5.574 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.469, allocations: 4 kB / 0.8801 GB, free: 5.57 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.4693, allocations: 0.5292 MB / 0.8806 GB, free: 5.039 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.4696, allocations: 150.2 kB / 0.8807 GB, free: 4.855 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.4698, allocations: 0.677 MB / 0.8814 GB, free: 4.152 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.536e-05/0.4698, allocations: 4 kB / 0.8814 GB, free: 4.148 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.4699, allocations: 11.42 kB / 0.8814 GB, free: 4.137 MB / 0.5417 GB Notification: Performance of SimCode: time 2.7e-07/0.4699, allocations: 3.938 kB / 0.8814 GB, free: 4.133 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01177/0.4816, allocations: 0.9818 MB / 0.8824 GB, free: 3.371 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/0.4819, allocations: 203.4 kB / 0.8826 GB, free: 3.148 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.445/1.926, allocations: 2.234 kB / 0.8826 GB, free: 3.148 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)