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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005174/0.005174, allocations: 101.4 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.00114/0.00114, allocations: 202.1 kB / 16.68 MB, free: 5.973 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.337/1.337, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002297/0.002297, allocations: 283 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9476/0.9476, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 91.86 kB / 0.681 GB, free: 12 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2074, allocations: 86.98 MB / 0.7659 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002835/0.2103, allocations: 1.237 MB / 0.7671 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.2115, allocations: 0.7154 MB / 0.7678 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.888e-05/0.2116, allocations: 0 / 0.7678 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.176e-05/0.2116, allocations: 3.938 kB / 0.7678 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002577/0.2119, allocations: 15.98 kB / 0.7678 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 9.31e-05/0.212, allocations: 15.86 kB / 0.7679 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.629e-05/0.2121, allocations: 4 kB / 0.7679 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.836e-05/0.2122, allocations: 0 / 0.7679 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.455e-05/0.2122, allocations: 4 kB / 0.7679 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.2124, allocations: 11.98 kB / 0.7679 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.2124, allocations: 0 / 0.7679 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.032e-05/0.2124, allocations: 15.92 kB / 0.7679 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.727e-05/0.2125, allocations: 0 / 0.7679 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.2126, allocations: 11.92 kB / 0.7679 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.2127, allocations: 11.92 kB / 0.7679 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.2127, allocations: 0 / 0.7679 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.645e-06/0.2127, allocations: 0 / 0.7679 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.2127, allocations: 0 / 0.7679 GB, free: 6.895 MB / 0.5606 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.0004254/0.2131, allocations: 331.5 kB / 0.7682 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.2132, allocations: 11.97 kB / 0.7682 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.229e-05/0.2133, allocations: 106 kB / 0.7683 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.617e-05/0.2134, allocations: 80.22 kB / 0.7684 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.2135, allocations: 235.7 kB / 0.7686 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.966e-05/0.2136, allocations: 150.9 kB / 0.7688 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.025e-05/0.2137, allocations: 158.9 kB / 0.7689 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.53e-05/0.2138, allocations: 109.5 kB / 0.769 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.727e-05/0.2139, allocations: 83.16 kB / 0.7691 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.446e-05/0.2139, allocations: 150.6 kB / 0.7693 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.305e-05/0.214, allocations: 150.6 kB / 0.7694 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.926e-05/0.2141, allocations: 150.6 kB / 0.7695 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003307/0.2144, allocations: 454 kB / 0.77 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.727e-05/0.2145, allocations: 165.1 kB / 0.7701 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.048e-05/0.2145, allocations: 88.06 kB / 0.7702 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.919e-05/0.2146, allocations: 75.28 kB / 0.7703 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.936e-05/0.2146, allocations: 117.8 kB / 0.7704 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.2147, allocations: 0 / 0.7704 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.751e-05/0.2147, allocations: 30.16 kB / 0.7704 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/0.2148, allocations: 134.6 kB / 0.7706 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.2149, allocations: 101.8 kB / 0.7707 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.215, allocations: 25.7 kB / 0.7707 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/0.215, allocations: 80.14 kB / 0.7708 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.215, allocations: 0 / 0.7708 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.2151, allocations: 17.72 kB / 0.7708 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2152, allocations: 314.8 kB / 0.7711 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.252e-06/0.2152, allocations: 3.938 kB / 0.7711 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.464e-05/0.2152, allocations: 0 / 0.7711 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.771e-05/0.2153, allocations: 75.28 kB / 0.7712 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.662e-05/0.2153, allocations: 75.28 kB / 0.7712 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.3e-05/0.2154, allocations: 29.7 kB / 0.7713 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.528e-05/0.2154, allocations: 87.2 kB / 0.7713 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.287e-05/0.2155, allocations: 87.25 kB / 0.7714 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.367e-05/0.2155, allocations: 150.7 kB / 0.7716 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.405e-05/0.2156, allocations: 83.3 kB / 0.7716 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.565e-05/0.2157, allocations: 154.5 kB / 0.7718 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.2158, allocations: 79.28 kB / 0.7719 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.2158, allocations: 79.22 kB / 0.7719 GB, free: 2.508 MB / 0.5606 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.0001411/0.216, allocations: 269 kB / 0.7722 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.541e-05/0.2161, allocations: 105.1 kB / 0.7723 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.014e-05/0.2162, allocations: 108.1 kB / 0.7724 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-05/0.2162, allocations: 184.2 kB / 0.7726 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.419e-05/0.2163, allocations: 180.3 kB / 0.7728 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.222e-05/0.2164, allocations: 196.2 kB / 0.7729 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.2167, allocations: 401.2 kB / 0.7733 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001232/0.2168, allocations: 105 kB / 0.7734 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-05/0.2169, allocations: 104.9 kB / 0.7735 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.778e-05/0.217, allocations: 180.2 kB / 0.7737 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/0.2171, allocations: 180.2 kB / 0.7739 GB, free: 420 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.864e-05/0.2172, allocations: 184.3 kB / 0.774 GB, free: 228 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.572e-05/0.2173, allocations: 180.3 kB / 0.7742 GB, free: 40 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3531/0.5703, allocations: 300.5 kB / 0.7745 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.5704, allocations: 184.8 kB / 0.7747 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.5705, allocations: 181.1 kB / 0.7748 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.414e-05/0.5705, allocations: 108.4 kB / 0.775 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.5706, allocations: 185.5 kB / 0.7751 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.5706, allocations: 104.1 kB / 0.7752 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.571e-05/0.5707, allocations: 80.78 kB / 0.7753 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5707, allocations: 4.906 kB / 0.7753 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003758/0.5711, allocations: 1.594 kB / 0.7753 GB, free: 14.49 MB / 0.5606 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.0004574/0.5715, allocations: 0.8258 MB / 0.7761 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 4.913e-05/0.5716, allocations: 1.219 kB / 0.7761 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5716, allocations: 0.5312 kB / 0.7761 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.595e-06/0.5716, allocations: 2.734 kB / 0.7761 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.5719, allocations: 468.2 kB / 0.7766 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000852/0.5728, allocations: 1.552 MB / 0.7781 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.841e-05/0.5729, allocations: 0.6735 MB / 0.7787 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.77e-05/0.5729, allocations: 2.188 kB / 0.7787 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.359e-05/0.5729, allocations: 11.05 kB / 0.7788 GB, free: 11 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.5729, allocations: 0.5312 kB / 0.7788 GB, free: 11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.5903, allocations: 1.229 MB / 0.78 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.224/7.814, allocations: 4.781 kB / 0.78 GB, free: 10.71 MB / 0.5606 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/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)