Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.GetAltitudeTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",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.00735/0.007355, allocations: 104.7 kB / 15.73 MB, free: 6.035 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.001795/0.001795, allocations: 199.2 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00246/0.00246, allocations: 278.8 kB / 290.8 MB, free: 1.797 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9838/0.9838, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002017, allocations: 95.92 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1879, allocations: 86.98 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002495/0.1904, allocations: 1.235 MB / 0.7671 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.192, allocations: 1.008 MB / 0.7681 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.173e-05/0.1921, allocations: 0 / 0.7681 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.668e-05/0.1921, allocations: 3.938 kB / 0.7681 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005055/0.1926, allocations: 111.5 kB / 0.7682 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.176e-06/0.1926, allocations: 0 / 0.7682 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.494e-05/0.1927, allocations: 4 kB / 0.7682 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.1927, allocations: 7.984 kB / 0.7682 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.473e-05/0.1928, allocations: 0 / 0.7682 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.988e-05/0.1929, allocations: 11.92 kB / 0.7682 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.685e-06/0.1929, allocations: 4 kB / 0.7682 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002424/0.1931, allocations: 119.8 kB / 0.7684 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.681e-06/0.1931, allocations: 0 / 0.7684 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.547e-05/0.1932, allocations: 4 kB / 0.7684 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.1934, allocations: 103.8 kB / 0.7685 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1934, allocations: 0 / 0.7685 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1934, allocations: 0 / 0.7685 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.729e-06/0.1934, allocations: 4 kB / 0.7685 GB, free: 6.309 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.0003538/0.1938, allocations: 351.4 kB / 0.7688 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.1938, allocations: 16.03 kB / 0.7688 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.046e-05/0.1939, allocations: 106 kB / 0.7689 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.045e-05/0.194, allocations: 76.22 kB / 0.769 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.1941, allocations: 243.6 kB / 0.7692 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.097e-05/0.1942, allocations: 154.9 kB / 0.7694 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.269e-05/0.1943, allocations: 150.9 kB / 0.7695 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.28e-05/0.1943, allocations: 120.9 kB / 0.7696 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/0.1944, allocations: 75.28 kB / 0.7697 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.488e-05/0.1944, allocations: 150.6 kB / 0.7698 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.897e-05/0.1945, allocations: 150.6 kB / 0.77 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.792e-05/0.1945, allocations: 150.6 kB / 0.7701 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002805/0.1948, allocations: 449.9 kB / 0.7706 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.244e-05/0.1949, allocations: 169.1 kB / 0.7707 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.12e-05/0.195, allocations: 80.14 kB / 0.7708 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/0.195, allocations: 79.22 kB / 0.7709 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/0.195, allocations: 109.8 kB / 0.771 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.1951, allocations: 4 kB / 0.771 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.978e-05/0.1951, allocations: 37.64 kB / 0.771 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.1952, allocations: 130.7 kB / 0.7711 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.1953, allocations: 89.86 kB / 0.7712 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.1953, allocations: 25.7 kB / 0.7712 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.39e-05/0.1954, allocations: 88.12 kB / 0.7713 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.1954, allocations: 0 / 0.7713 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.1954, allocations: 13.84 kB / 0.7713 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1955, allocations: 318.8 kB / 0.7716 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.212e-06/0.1956, allocations: 0 / 0.7716 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.827e-06/0.1956, allocations: 0 / 0.7716 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.161e-05/0.1956, allocations: 79.28 kB / 0.7717 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.589e-05/0.1956, allocations: 75.28 kB / 0.7718 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.23e-05/0.1957, allocations: 33.58 kB / 0.7718 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/0.1957, allocations: 87.22 kB / 0.7719 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.921e-05/0.1958, allocations: 79.28 kB / 0.772 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.245e-05/0.1959, allocations: 150.6 kB / 0.7721 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.092e-05/0.1959, allocations: 79.22 kB / 0.7722 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.489e-05/0.196, allocations: 154.5 kB / 0.7724 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.1961, allocations: 87.22 kB / 0.7724 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.1961, allocations: 75.28 kB / 0.7725 GB, free: 1.91 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.0001242/0.1962, allocations: 261.1 kB / 0.7728 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.477e-05/0.1963, allocations: 108.9 kB / 0.7729 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.277e-05/0.1964, allocations: 108 kB / 0.773 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.969e-05/0.1964, allocations: 184.3 kB / 0.7731 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.927e-05/0.1965, allocations: 184.2 kB / 0.7733 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-05/0.1966, allocations: 184.3 kB / 0.7735 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.1968, allocations: 397.2 kB / 0.7739 GB, free: 424 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-05/0.1969, allocations: 108.9 kB / 0.774 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-05/0.1969, allocations: 112.9 kB / 0.7741 GB, free: 188 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3923/0.5892, allocations: 184.2 kB / 0.7743 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.298e-05/0.5893, allocations: 176.3 kB / 0.7744 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.658e-05/0.5893, allocations: 177.5 kB / 0.7746 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.666e-05/0.5893, allocations: 180.8 kB / 0.7748 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.5895, allocations: 307.8 kB / 0.7751 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.5895, allocations: 185.5 kB / 0.7752 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.849e-05/0.5895, allocations: 179.9 kB / 0.7754 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.078e-05/0.5896, allocations: 102.4 kB / 0.7755 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.5897, allocations: 183.5 kB / 0.7757 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.5897, allocations: 106.9 kB / 0.7758 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.266e-05/0.5898, allocations: 81.02 kB / 0.7759 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5898, allocations: 0 / 0.7759 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004511/0.5902, allocations: 40.73 kB / 0.7759 GB, free: 13.62 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.0006562/0.5909, allocations: 0.9435 MB / 0.7768 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 5.043e-05/0.5909, allocations: 4.672 kB / 0.7768 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.591, allocations: 0.7812 kB / 0.7768 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.873e-06/0.591, allocations: 0.625 kB / 0.7768 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.5913, allocations: 464.1 kB / 0.7773 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008509/0.5921, allocations: 1.553 MB / 0.7788 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.169e-05/0.5922, allocations: 0.6732 MB / 0.7794 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.019e-05/0.5922, allocations: 1.406 kB / 0.7794 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.171e-05/0.5923, allocations: 13.03 kB / 0.7795 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.5923, allocations: 0 / 0.7795 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.6134, allocations: 1.913 MB / 0.7813 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.41/8.023, allocations: 6 kB / 0.7813 GB, free: 9.762 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)